Files
archie/api/openapi.yaml
T
sam f24c2b4455 feat(connectors): separate packages from scoped installations (#2027)
Packages are accepted once by the instance. Installations configure them at the instance, an organisation or a person; bindings and credentials resolve the person's, then their organisation's, then the instance's. Decisions, approval requests and held chat actions record the installation and scope that acted.

The dashboard lists packages separately from installations, shows every installation's scope, and creates, edits and disables installations at their scope.
2026-11-24 03:05:27 +11:00

9535 lines
235 KiB
YAML

components:
schemas:
AddMemberInputBody:
additionalProperties: false
properties:
display_name:
description: Name shown for a new person; defaults to the email or subject
type: string
email:
description: The person's email; give this or a subject
type: string
role:
description: The role to hold
type: string
subject:
description: The subject the identity provider asserts; give this or an email
type: string
workspace:
description: Scope the membership to this workspace; empty is organisation-wide
type: string
required:
- role
type: object
AnswerInputBody:
additionalProperties: false
properties:
approved:
type: boolean
assertion:
$ref: "#/components/schemas/ApprovalsAssertion"
required:
- approved
type: object
ApprovalsAssertion:
additionalProperties: false
properties:
credential: {}
token:
type: string
required:
- token
- credential
type: object
ApprovalsConfirmation:
additionalProperties: false
properties:
options: {}
token:
type: string
required:
- token
- options
type: object
ApprovalsView:
additionalProperties: false
properties:
action:
type: string
answered_at:
format: date-time
type: string
answered_by:
type: string
answered_by_id:
type: string
answered_via:
type: string
deadline:
format: date-time
type: string
decision_id:
type: string
id:
type: string
kind:
type: string
level:
type: string
requested_at:
format: date-time
type: string
run_id:
type: string
state:
type: string
step:
format: int64
type: integer
step_deadline:
format: date-time
type: string
summary:
type: string
target:
type: string
required:
- id
- kind
- run_id
- action
- target
- level
- summary
- state
- deadline
- step
- decision_id
- requested_at
type: object
AuditjsonPayload:
additionalProperties: false
properties:
json: {}
length:
format: int64
type: integer
sha256:
type: string
text:
type: string
truncated:
type: boolean
type: object
AuthenticationInputBody:
additionalProperties: false
properties:
oidc_audience:
type: string
oidc_client_id:
type: string
oidc_issuer:
type: string
public_url:
type: string
trusted_proxies:
items:
type: string
type:
- array
- "null"
required:
- public_url
type: object
CaptureInputBody:
additionalProperties: false
properties:
capture:
type: boolean
required:
- capture
type: object
CatalogueGrants:
additionalProperties: false
properties:
credentials:
items:
type: string
type:
- array
- "null"
egress:
items:
type: string
type:
- array
- "null"
env:
items:
type: string
type:
- array
- "null"
required:
- egress
- env
- credentials
type: object
ChangePasswordInputBody:
additionalProperties: false
properties:
current_password:
type: string
new_password:
type: string
required:
- current_password
- new_password
type: object
ChatActionDone:
additionalProperties: false
properties:
request_id:
type: string
result:
type: string
state:
type: string
required:
- request_id
- state
type: object
ChatApproval:
additionalProperties: false
properties:
action:
type: string
deadline:
format: date-time
type: string
level:
type: string
request_id:
type: string
summary:
type: string
required:
- request_id
- action
- summary
- level
- deadline
type: object
ChatNavigation:
additionalProperties: false
properties:
label:
type: string
path:
type: string
required:
- path
- label
type: object
ChatSession:
additionalProperties: false
properties:
created_at:
format: date-time
type: string
session_id:
type: string
title:
type: string
updated_at:
format: date-time
type: string
required:
- session_id
- title
- created_at
- updated_at
type: object
ChatSessions:
additionalProperties: false
properties:
active_model:
type: string
model_error:
type: string
sessions:
items:
$ref: "#/components/schemas/ChatSession"
type:
- array
- "null"
required:
- sessions
- active_model
type: object
ChatToolCall:
additionalProperties: false
properties:
duration_ms:
format: int64
type: integer
failed:
type: boolean
id:
type: string
name:
type: string
parameters:
type: string
text:
type: string
text_offset:
format: int64
type: integer
required:
- id
- name
- parameters
- text
- duration_ms
- text_offset
type: object
ChatTurn:
additionalProperties: false
properties:
actions:
items:
$ref: "#/components/schemas/ChatActionDone"
type:
- array
- "null"
approvals:
items:
$ref: "#/components/schemas/ChatApproval"
type:
- array
- "null"
created_at:
format: date-time
type: string
error:
type: string
finished_at:
format: date-time
type:
- string
- "null"
id:
type: string
navigate:
items:
$ref: "#/components/schemas/ChatNavigation"
type:
- array
- "null"
page:
type: string
page_label:
type: string
reasoning:
type: string
reply:
type: string
seq:
format: int64
type: integer
session_id:
type: string
state:
type: string
text:
type: string
tool_calls:
items:
$ref: "#/components/schemas/ChatToolCall"
type:
- array
- "null"
required:
- id
- session_id
- seq
- state
- text
- reply
- tool_calls
- approvals
- actions
- navigate
- created_at
type: object
ConnectorsAcceptRequest:
additionalProperties: false
properties:
credentials:
additionalProperties:
type: string
type: object
egress:
description: Every host the extension may reach
items:
type: string
type:
- array
- "null"
env:
description: Host environment variables the extension may see
items:
type: string
type:
- array
- "null"
path:
description: The extension binary on the host
type: string
settings:
additionalProperties:
type: string
type: object
sha256:
description: The binary's digest; it runs only while the digest matches
type: string
required:
- path
- sha256
type: object
ConnectorsCall:
additionalProperties: false
properties:
connector:
type: string
error:
type: string
method:
type: string
request:
$ref: "#/components/schemas/AuditjsonPayload"
response:
$ref: "#/components/schemas/AuditjsonPayload"
required:
- connector
- method
- request
type: object
ConnectorsCapabilities:
additionalProperties: false
properties:
actions:
items:
$ref: "#/components/schemas/ConnectorsCapability"
type:
- array
- "null"
deliveries:
items:
$ref: "#/components/schemas/ConnectorsCapability"
type:
- array
- "null"
events:
items:
$ref: "#/components/schemas/ConnectorsCapability"
type:
- array
- "null"
links_accounts:
type: boolean
listens:
type: boolean
lookups:
items:
$ref: "#/components/schemas/ConnectorsCapability"
type:
- array
- "null"
target_facts:
type: boolean
required:
- events
- actions
- deliveries
- lookups
- listens
- target_facts
- links_accounts
type: object
ConnectorsCapability:
additionalProperties: false
properties:
description:
type: string
name:
type: string
schema: {}
required:
- name
- description
- schema
type: object
ConnectorsCatalogueEntry:
additionalProperties: false
properties:
contract:
type: string
description:
type: string
digest:
type: string
display_name:
type: string
grants:
$ref: "#/components/schemas/CatalogueGrants"
group:
enum:
- platform
- integration
- agent
type: string
installed:
type: boolean
installed_version:
type: string
name:
type: string
update_available:
type: boolean
version:
type: string
required:
- name
- display_name
- description
- contract
- group
- version
- digest
- grants
- installed
- update_available
type: object
ConnectorsCatalogueSource:
additionalProperties: false
properties:
location:
description: An https URL or an absolute path to the catalogue; its signature is beside it with .sig added
type: string
newest:
format: date-time
readOnly: true
type: string
public_key:
description: The base64 Ed25519 public key the catalogue is signed with
type: string
required:
- location
- public_key
type: object
ConnectorsCredentialKind:
additionalProperties: false
properties:
kind:
type: string
optional:
items:
type: string
type:
- array
- "null"
required:
items:
type: string
type:
- array
- "null"
required:
- kind
- required
type: object
ConnectorsCredentialRequest:
additionalProperties: false
properties:
fields:
additionalProperties:
$ref: "#/components/schemas/ConnectorsField"
type: object
kind:
type: string
scope:
description: "Who owns the credential. Default: instance"
enum:
- instance
- org
- person
type: string
required:
- kind
- fields
type: object
ConnectorsCredentialSaved:
additionalProperties: false
properties:
kind:
type: string
name:
type: string
restarted:
items:
type: string
type:
- array
- "null"
scope:
enum:
- instance
- org
- person
type: string
required:
- name
- kind
- scope
- restarted
type: object
ConnectorsCredentialView:
additionalProperties: false
properties:
fields:
additionalProperties:
type: string
type: object
kind:
type: string
name:
type: string
scope:
enum:
- instance
- org
- person
type: string
required:
- name
- kind
- scope
- fields
type: object
ConnectorsEffect:
additionalProperties: false
properties:
Privileged:
$ref: "#/components/schemas/ConnectorsPrivilegedEffects"
ReadOnly:
type: boolean
Reversibility:
format: int64
type: integer
Summary:
type: string
required:
- ReadOnly
- Reversibility
- Summary
- Privileged
type: object
ConnectorsExtensionKind:
additionalProperties: false
properties:
contract:
description: The package contract this kind accepts
type: string
group:
enum:
- platform
- integration
- agent
type: string
kind:
description: The API path segment that lists this kind
type: string
label:
type: string
singular:
type: string
required:
- kind
- contract
- label
- singular
- group
type: object
ConnectorsExtensionView:
additionalProperties: false
properties:
accepted:
$ref: "#/components/schemas/CatalogueGrants"
args:
items:
type: string
type:
- array
- "null"
can_override:
items:
enum:
- org
- person
type: string
type:
- array
- "null"
can_rollback:
type: boolean
capabilities:
$ref: "#/components/schemas/ConnectorsCapabilities"
contract:
type: string
credentials:
additionalProperties:
type: string
type: object
declared:
$ref: "#/components/schemas/CatalogueGrants"
description:
type: string
digest:
type: string
display_name:
type: string
editable:
type: boolean
effects:
$ref: "#/components/schemas/ConnectorsServerEffects"
egress:
items:
type: string
type:
- array
- "null"
enabled:
type: boolean
env:
items:
type: string
type:
- array
- "null"
error:
type: string
group:
enum:
- platform
- integration
- agent
type: string
id:
type: string
managed:
type: boolean
name:
type: string
overridden:
type: boolean
overridden_by:
items:
enum:
- org
- person
type: string
type:
- array
- "null"
owner_id:
type: string
package:
type: string
path:
type: string
pending:
$ref: "#/components/schemas/ConnectorsPendingView"
scope:
enum:
- instance
- org
- person
type: string
settings:
additionalProperties:
type: string
type: object
settings_schema:
items:
$ref: "#/components/schemas/ConnectorsSetting"
type:
- array
- "null"
state:
type: string
tools: {}
update_policy:
type: string
url:
type: string
version:
type: string
required:
- id
- name
- package
- scope
- editable
- overridden
- contract
- group
- state
- digest
- egress
- env
- settings
- settings_schema
- credentials
- enabled
- managed
- can_rollback
type: object
ConnectorsField:
additionalProperties: false
properties:
engine:
type: string
key:
type: string
value:
type: string
writeOnly: true
type: object
ConnectorsGrantsRequest:
additionalProperties: false
properties:
credentials:
additionalProperties:
type: string
type: object
egress:
description: Every host the extension may reach; empty leaves it unconfined, which only an extension that declares no hosts may be given
items:
type: string
type:
- array
- "null"
env:
description: Host environment variables the extension may see
items:
type: string
type:
- array
- "null"
settings:
additionalProperties:
type: string
type: object
type: object
ConnectorsHealth:
additionalProperties: false
properties:
contract:
description: connector, secretengine, guard or mcp
type: string
error:
type: string
failed_at:
format: date-time
type:
- string
- "null"
healthy:
type: boolean
id:
type: string
name:
type: string
scope:
enum:
- instance
- org
- person
type: string
required:
- id
- name
- scope
- contract
- healthy
type: object
ConnectorsInstallation:
additionalProperties: false
properties:
id:
type: string
scope:
enum:
- instance
- org
- person
type: string
required:
- id
- scope
type: object
ConnectorsInstallationRequest:
additionalProperties: false
properties:
args:
items:
type: string
type:
- array
- "null"
credentials:
additionalProperties:
type: string
description: Each credential slot and the credential, by name, that fills it
type: object
egress:
description: Every host the extension may reach. An installation below the instance must name them, unless the package runs unconfined
items:
type: string
type:
- array
- "null"
enabled:
type: boolean
env:
description: Host environment variables the extension may see; the instance's installations of the package bound them
items:
type: string
type:
- array
- "null"
settings:
additionalProperties:
type: string
type: object
tools:
items:
$ref: "#/components/schemas/ConnectorsToolDecl"
type:
- array
- "null"
url:
type: string
required:
- enabled
type: object
ConnectorsLifecycle:
additionalProperties: false
properties:
digest:
type: string
enabled:
type: boolean
name:
type: string
pending:
type: boolean
version:
type: string
required:
- name
- version
- digest
- pending
- enabled
type: object
ConnectorsMcpRequest:
additionalProperties: false
properties:
args:
items:
type: string
type:
- array
- "null"
credentials:
additionalProperties:
type: string
type: object
effects:
$ref: "#/components/schemas/ConnectorsServerEffects"
description: Whether the server's tools change privileges or access secrets. Chat offers a server only when this is declared and both are false.
egress:
items:
type: string
type:
- array
- "null"
env:
items:
type: string
type:
- array
- "null"
path:
type: string
settings:
additionalProperties:
type: string
type: object
sha256:
type: string
tools:
items:
$ref: "#/components/schemas/ConnectorsToolDecl"
type:
- array
- "null"
url:
type: string
type: object
ConnectorsPackageState:
additionalProperties: false
properties:
name:
type: string
state:
enum:
- running
- removed
type: string
required:
- name
- state
type: object
ConnectorsPackageView:
additionalProperties: false
properties:
accepted_at:
format: date-time
type: string
contract:
type: string
description:
type: string
digest:
type: string
display_name:
type: string
group:
enum:
- platform
- integration
- agent
type: string
id:
type: string
installed:
description: Whether the instance accepted the package's grants, so an organisation or a person can install it
type: boolean
managed:
type: boolean
name:
type: string
version:
type: string
required:
- id
- name
- contract
- group
- digest
- managed
- installed
- accepted_at
type: object
ConnectorsPendingView:
additionalProperties: false
properties:
added:
$ref: "#/components/schemas/CatalogueGrants"
digest:
type: string
version:
type: string
required:
- version
- digest
- added
type: object
ConnectorsPrivilegedEffects:
additionalProperties: false
properties:
declared:
type: boolean
privilege_change:
type: boolean
secret_access:
type: boolean
required:
- declared
type: object
ConnectorsServerEffects:
additionalProperties: false
properties:
privilege_change:
description: The tools grant roles, change identities or policies, or change control-plane settings
type: boolean
secret_access:
description: The tools read, export or reveal secrets
type: boolean
required:
- privilege_change
- secret_access
type: object
ConnectorsSetting:
additionalProperties: false
properties:
description:
type: string
key:
type: string
label:
type: string
options:
items:
type: string
type:
- array
- "null"
required:
type: boolean
secret:
type: boolean
type:
type: string
required:
- key
- label
type: object
ConnectorsSourceView:
additionalProperties: false
properties:
configured:
type: boolean
source:
$ref: "#/components/schemas/ConnectorsCatalogueSource"
required:
- configured
type: object
ConnectorsTarget:
additionalProperties: false
properties:
Disposable:
type: boolean
Environment:
type: string
ID:
type: string
Kind:
type: string
required:
- Kind
- ID
- Environment
- Disposable
type: object
ConnectorsToolDecl:
additionalProperties: false
properties:
kind:
type: string
name:
type: string
read_only:
type: boolean
reversibility:
type: string
summary:
type: string
required:
- name
- kind
type: object
CorrectInputBody:
additionalProperties: false
properties:
text:
description: The corrected note
type: string
required:
- text
type: object
CreateEventTypeInputBody:
additionalProperties: false
properties:
example:
$ref: "#/components/schemas/ExampleStruct"
name:
type: string
rule:
$ref: "#/components/schemas/EventtypeRule"
description: The conditions that identify the type; inferred from the example when absent
source:
type: string
required:
- source
- name
type: object
CreateInstallationInputBody:
additionalProperties: false
properties:
name:
description: "What a binding calls the installation. Default: the package's name"
type: string
package:
description: The accepted package to install
type: string
scope:
description: "Who owns the installation: the instance, the caller's organisation or the caller"
enum:
- instance
- org
- person
type: string
required:
- package
- scope
type: object
CreateTokenInputBody:
additionalProperties: false
properties:
days:
format: int64
type: integer
name:
type: string
required:
- name
type: object
CreateWorkspaceInputBody:
additionalProperties: false
properties:
environment:
description: Free-form attribute policies can test
type: string
id:
description: Workspace ID, permanent for the workspace's life
type: string
name:
description: Display name
type: string
required:
- id
- name
type: object
DeliveriesAttempt:
additionalProperties: false
properties:
at:
format: date-time
type: string
attempt:
format: int64
type: integer
channel:
type: string
duration_ms:
format: int64
type: integer
error:
type: string
ok:
type: boolean
response:
type: string
required:
- channel
- attempt
- at
- ok
- duration_ms
type: object
DeliveriesMessage:
additionalProperties: false
properties:
attempts:
items:
$ref: "#/components/schemas/DeliveriesAttempt"
type:
- array
- "null"
body:
type: string
created_at:
format: date-time
type: string
expires_at:
format: date-time
type:
- string
- "null"
id:
type: string
kind:
type: string
request_id:
type: string
run_id:
type: string
seq:
format: int64
type: integer
title:
type: string
required:
- seq
- id
- kind
- title
- body
- created_at
type: object
DeliveryHeaderInputBody:
additionalProperties: false
properties:
header:
description: A header name; empty stops de-duplicating retries by header
type: string
required:
- header
type: object
DisabledInputBody:
additionalProperties: false
properties:
disabled:
description: Whether the note stops being read
type: boolean
required:
- disabled
type: object
DraftsTrigger:
additionalProperties: false
properties:
event_type:
type: string
filter: {}
source:
type: string
required:
- source
- event_type
- filter
type: object
DraftsView:
additionalProperties: false
properties:
dry_event_id:
type: string
dry_run:
$ref: "#/components/schemas/RunsDryReport"
group_id:
type: string
id:
type: string
name:
type: string
policy:
type: string
policy_kind:
type: string
published_at:
format: date-time
type:
- string
- "null"
summary:
type: string
trigger:
$ref: "#/components/schemas/DraftsTrigger"
workflow:
type: string
required:
- id
- group_id
- name
- trigger
- workflow
- policy_kind
- policy
- summary
type: object
DryRunInputBody:
additionalProperties: false
properties:
event_id:
description: The stored event to replay; the newest by default
type: string
type: object
EditInputBody:
additionalProperties: false
properties:
name:
type: string
policy:
description: Cedar policy text added when the draft is published
type: string
policy_kind:
enum:
- hard_rules
- change_request
type: string
workflow:
description: The workflow document
type: string
required:
- name
- workflow
- policy_kind
type: object
ErrorDetail:
additionalProperties: false
properties:
location:
description: Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
type: string
message:
description: Error message text
type: string
value:
description: The value at the given location
type: object
ErrorModel:
additionalProperties: false
properties:
detail:
description: A human-readable explanation specific to this occurrence of the problem.
examples:
- Property foo is required but is missing.
type: string
errors:
description: Optional list of individual error details
items:
$ref: "#/components/schemas/ErrorDetail"
type:
- array
- "null"
instance:
description: A URI reference that identifies the specific occurrence of the problem.
examples:
- https://example.com/error-log/abc123
format: uri
type: string
status:
description: HTTP status code
examples:
- 400
format: int64
type: integer
title:
description: A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
examples:
- Bad Request
type: string
type:
default: about:blank
description: A URI reference to human-readable documentation for the error.
examples:
- https://example.com/errors/example
format: uri
type: string
type: object
EventsCaptureView:
additionalProperties: false
properties:
body:
type: string
content_type:
type: string
event_type:
type: string
headers:
type: string
id:
type: string
received_at:
format: date-time
type: string
remote_addr:
type: string
source:
type: string
verification:
enum:
- signed
- token
- unsigned
- ""
type: string
required:
- id
- received_at
- source
- headers
- body
- verification
type: object
EventsCapturesBody:
additionalProperties: false
properties:
captures:
items:
$ref: "#/components/schemas/EventsCaptureView"
type:
- array
- "null"
enabled:
type: boolean
required:
- captures
- enabled
type: object
EventsDispatchView:
additionalProperties: false
properties:
created_at:
format: date-time
type: string
event_id:
type: string
outcome:
enum:
- started
- failed
- denied
- disabled
type: string
reason: {}
run_id:
type: string
trigger:
type: string
required:
- event_id
- outcome
type: object
EventsEventDetail:
additionalProperties: false
properties:
body: {}
runs:
items:
$ref: "#/components/schemas/EventsTriggerRun"
type:
- array
- "null"
required:
- body
- runs
type: object
EventsEventTypeView:
additionalProperties: false
properties:
id:
type: string
name:
type: string
rule:
$ref: "#/components/schemas/EventtypeRule"
schema:
additionalProperties:
type: string
type: object
source:
type: string
required:
- id
- source
- name
- rule
- schema
type: object
EventsEventTypesBody:
additionalProperties: false
properties:
enabled:
type: boolean
event_types:
items:
$ref: "#/components/schemas/EventsEventTypeView"
type:
- array
- "null"
proposals:
items:
$ref: "#/components/schemas/EventtypeProposal"
type:
- array
- "null"
required:
- enabled
- event_types
- proposals
type: object
EventsEventView:
additionalProperties: false
properties:
dispatched_at:
format: date-time
type: string
fields: {}
id:
type: string
linked_to:
type: string
matched:
type: boolean
occurred_at:
format: date-time
type: string
received_at:
format: date-time
type: string
source:
type: string
type:
type: string
verification:
type: string
required:
- id
- source
- type
- fields
- received_at
- matched
type: object
EventsGroupView:
additionalProperties: false
properties:
count:
format: int64
type: integer
first_seen:
format: date-time
type: string
id:
type: string
last_seen:
format: date-time
type: string
proposed:
$ref: "#/components/schemas/EventsProposedTrigger"
required:
- id
- count
- first_seen
- last_seen
- proposed
type: object
EventsKeyFieldsSaved:
additionalProperties: false
properties:
key_fields:
items:
type: string
type:
- array
- "null"
required:
- key_fields
type: object
EventsMappingBody:
additionalProperties: false
properties:
event_type_id:
format: uuid
type: string
fields:
items:
$ref: "#/components/schemas/MappingField"
type:
- array
- "null"
name:
type: string
source_hint:
type: string
required:
- name
- event_type_id
- fields
type: object
EventsMappingView:
additionalProperties: false
properties:
created_at:
format: date-time
type: string
event_type_id:
type: string
fields:
items:
$ref: "#/components/schemas/MappingField"
type:
- array
- "null"
id:
type: string
last_matched_at:
format: date-time
type: string
match_count:
format: int64
type: integer
name:
type: string
source_hint:
type: string
updated_at:
format: date-time
type: string
required:
- id
- name
- source_hint
- event_type_id
- fields
- match_count
- created_at
- updated_at
type: object
EventsPreviewBody:
additionalProperties: false
properties:
failures:
items:
$ref: "#/components/schemas/MappingFailure"
type:
- array
- "null"
values:
additionalProperties: {}
type: object
required:
- values
- failures
type: object
EventsProposedTrigger:
additionalProperties: false
properties:
event_type:
type: string
filter: {}
source:
type: string
workflow:
type: string
required:
- source
- event_type
- filter
- workflow
type: object
EventsSavedID:
additionalProperties: false
properties:
id:
type: string
required:
- id
type: object
EventsSourceCreated:
additionalProperties: false
properties:
secret:
description: A signing secret generated for an HMAC source, returned once
type: string
source:
type: string
token:
description: Returned once for a token source; only its hash is stored
type: string
url:
description: Where the sender posts its events
type: string
required:
- source
- url
type: object
EventsSourceView:
additionalProperties: false
properties:
capture:
type: boolean
connector:
type: string
delivery_header:
type: string
display_name:
type: string
hmac_header:
type: string
hmac_prefix:
type: string
hmac_secret_set:
type: boolean
key_fields:
items:
type: string
type:
- array
- "null"
name:
type: string
secret:
type: string
signing:
enum:
- signed
- token
- unsigned_pending_approval
- unsigned
type: string
token_set:
type: boolean
verification:
type: string
required:
- name
- connector
- key_fields
- token_set
- verification
- hmac_secret_set
- signing
- capture
type: object
EventsTriggerRun:
additionalProperties: false
properties:
outcome:
enum:
- started
- failed
- denied
- disabled
type: string
reason: {}
run_id:
type: string
trigger:
type: string
required:
- trigger
- outcome
type: object
EventsTriggerSaved:
additionalProperties: false
properties:
trigger:
type: string
required:
- trigger
type: object
EventsTriggerView:
additionalProperties: false
properties:
enabled:
type: boolean
event_type:
type: string
event_type_id:
type: string
every:
type: string
filter:
additionalProperties:
type: string
type: object
mapping_id:
type: string
name:
type: string
source:
type: string
status:
enum:
- pending_approval
- armed
- paused
type: string
unsigned:
type: boolean
workflow:
type: string
required:
- name
- source
- event_type
- filter
- workflow
- enabled
- status
- unsigned
type: object
EventtypeHeaderCondition:
additionalProperties: false
properties:
name:
type: string
value:
type: string
required:
- name
- value
type: object
EventtypePayloadCondition:
additionalProperties: false
properties:
op:
type: string
path:
type: string
value:
type: string
required:
- path
- op
type: object
EventtypeProposal:
additionalProperties: false
properties:
count:
format: int64
type: integer
headers:
additionalProperties:
type: string
type: object
key:
type: string
rule:
$ref: "#/components/schemas/EventtypeRule"
sample_id:
type: string
schema:
additionalProperties:
type: string
type: object
source:
type: string
required:
- source
- key
- schema
- headers
- count
- sample_id
- rule
type: object
EventtypeRule:
additionalProperties: false
properties:
headers:
items:
$ref: "#/components/schemas/EventtypeHeaderCondition"
type:
- array
- "null"
payload:
items:
$ref: "#/components/schemas/EventtypePayloadCondition"
type:
- array
- "null"
required:
- headers
- payload
type: object
ExampleStruct:
additionalProperties: false
properties:
body:
type: string
headers:
additionalProperties:
type: string
type: object
type: object
ExtensionEnabledInputBody:
additionalProperties: false
properties:
enabled:
type: boolean
required:
- enabled
type: object
ExtensionPolicyInputBody:
additionalProperties: false
properties:
policy:
enum:
- manual
- auto
type: string
required:
- policy
type: object
ExtensionSettingsInputBody:
additionalProperties: false
properties:
settings:
additionalProperties:
type: string
type: object
type: object
GovernanceAuthStatusBody:
additionalProperties: false
properties:
instance:
type: string
oidc:
type: boolean
public_url:
type: string
setup_required:
type: boolean
user:
$ref: "#/components/schemas/GovernanceIdentity"
required:
- setup_required
- user
- oidc
- public_url
- instance
type: object
GovernanceAuthenticationSettings:
additionalProperties: false
properties:
oidc_audience:
type: string
oidc_client_id:
type: string
oidc_issuer:
type: string
public_url:
type: string
trusted_proxies:
items:
type: string
type:
- array
- "null"
required:
- public_url
- oidc_issuer
- oidc_audience
- oidc_client_id
- trusted_proxies
type: object
GovernanceBlackout:
additionalProperties: false
properties:
from:
format: date-time
type: string
reason:
type: string
to:
format: date-time
type: string
required:
- from
- to
- reason
type: object
GovernanceCandidatesBody:
additionalProperties: false
properties:
identities:
items:
$ref: "#/components/schemas/GovernanceMemberCandidate"
type:
- array
- "null"
required:
- identities
type: object
GovernanceCapabilitiesBody:
additionalProperties: false
properties:
sections:
additionalProperties:
type: boolean
type: object
required:
- sections
type: object
GovernanceChannelLink:
additionalProperties: false
properties:
connector:
type: string
linked_at:
format: date-time
type: string
name:
type: string
subject:
type: string
required:
- connector
- subject
- name
- linked_at
type: object
GovernanceChannelsBody:
additionalProperties: false
properties:
connectors:
items:
type: string
type:
- array
- "null"
linked:
items:
$ref: "#/components/schemas/GovernanceChannelLink"
type:
- array
- "null"
required:
- connectors
- linked
type: object
GovernanceCreatedToken:
additionalProperties: false
properties:
id:
type: string
token:
type: string
required:
- id
- token
type: object
GovernanceDecisionRecord:
additionalProperties: false
properties:
action:
type: string
at:
format: date-time
type: string
count:
format: int64
type: integer
kind:
type: string
level:
type: string
org:
type: string
outcome:
type: string
policies:
items:
type: string
type:
- array
- "null"
principal:
type: string
resource:
type: string
required:
- principal
- org
- action
- kind
- resource
- outcome
- level
- policies
- at
- count
type: object
GovernanceDecisionsBody:
additionalProperties: false
properties:
decisions:
items:
$ref: "#/components/schemas/GovernanceDecisionRecord"
type:
- array
- "null"
more:
description: Whether older decisions match beyond this page
type: boolean
required:
- decisions
- more
type: object
GovernanceIdentity:
additionalProperties: false
properties:
created_at:
format: date-time
type: string
display_name:
type: string
id:
type: string
kind:
type: string
lifecycle:
type: string
updated_at:
format: date-time
type: string
version:
format: int64
type: integer
required:
- id
- kind
- display_name
- lifecycle
- version
- created_at
- updated_at
type: object
GovernanceInstructionsBody:
additionalProperties: false
properties:
text:
description: Standing instructions given to every agent in the organisation
maxLength: 8192
type: string
required:
- text
type: object
GovernanceLinkStart:
additionalProperties: false
properties:
expires_at:
format: date-time
type: string
url:
type: string
required:
- url
- expires_at
type: object
GovernanceMember:
additionalProperties: false
properties:
display_name:
type: string
identity_id:
type: string
kind:
type: string
last_sign_in:
format: date-time
type: string
role:
type: string
status:
type: string
workspace_id:
type: string
required:
- identity_id
- kind
- display_name
- role
- status
type: object
GovernanceMemberCandidate:
additionalProperties: false
properties:
display_name:
description: Name shown for the identity
type: string
id:
description: Identity ID
type: string
kind:
description: Identity kind
type: string
required:
- id
- kind
- display_name
type: object
GovernanceMembersBody:
additionalProperties: false
properties:
members:
items:
$ref: "#/components/schemas/GovernanceMember"
type:
- array
- "null"
required:
- members
type: object
GovernanceMembership:
additionalProperties: false
properties:
identity_id:
type: string
org_id:
type: string
role:
type: string
workspace_id:
type: string
required:
- identity_id
- org_id
- role
type: object
GovernanceMembershipBody:
additionalProperties: false
properties:
membership:
$ref: "#/components/schemas/GovernanceMembership"
required:
- membership
type: object
GovernanceModel:
additionalProperties: false
properties:
api_key_credential:
readOnly: true
type: string
base_url:
readOnly: true
type: string
class:
readOnly: true
type: string
model:
description: The model's name on the provider
type: string
provider:
description: The provider the model is called on
type: string
required:
- provider
- model
type: object
GovernanceModelAnswer:
additionalProperties: false
properties:
answer:
type: string
model:
type: string
required:
- model
- answer
type: object
GovernanceModelClass:
additionalProperties: false
properties:
class:
type: string
default_base_url:
type: string
required:
- class
type: object
GovernanceModelPolicy:
additionalProperties: false
properties:
chat_aliases:
description: Aliases chat may use; null lets it use any
items:
type: string
type:
- array
- "null"
workflow_aliases:
description: Aliases workflows may name; null lets them use any
items:
type: string
type:
- array
- "null"
required:
- workflow_aliases
- chat_aliases
type: object
GovernanceModelProvider:
additionalProperties: false
properties:
api_key_credential:
type: string
base_url:
type: string
class:
description: A provider class from the model classes catalogue
type: string
name:
description: Lowercase letters, digits, dots, underscores or hyphens
type: string
required:
- name
- class
type: object
GovernanceOrgBody:
additionalProperties: false
properties:
org:
$ref: "#/components/schemas/GovernanceOrgView"
required:
- org
type: object
GovernanceOrgEvent:
additionalProperties: false
properties:
actor_id:
type: string
actor_name:
type: string
at:
format: date-time
type: string
id:
format: int64
type: integer
kind:
type: string
new_name:
type: string
old_name:
type: string
workspace_id:
type: string
required:
- id
- kind
- actor_id
- actor_name
- old_name
- new_name
- at
type: object
GovernanceOrgEventsBody:
additionalProperties: false
properties:
events:
items:
$ref: "#/components/schemas/GovernanceOrgEvent"
type:
- array
- "null"
required:
- events
type: object
GovernanceOrgView:
additionalProperties: false
properties:
id:
type: string
name:
type: string
role:
type: string
version:
format: int64
type: integer
required:
- id
- name
- version
type: object
GovernanceOrgsBody:
additionalProperties: false
properties:
current:
type: string
instance_admin:
type: boolean
member_orgs:
items:
type: string
type:
- array
- "null"
orgs:
items:
$ref: "#/components/schemas/GovernanceOrgView"
type:
- array
- "null"
required:
- orgs
- current
- instance_admin
- member_orgs
type: object
GovernancePasskey:
additionalProperties: false
properties:
id:
type: string
name:
type: string
required:
- id
- name
type: object
GovernancePasskeyFinishBody:
additionalProperties: false
properties:
credential: {}
name:
type: string
required:
- credential
type: object
GovernancePasskeysBody:
additionalProperties: false
properties:
passkeys:
items:
$ref: "#/components/schemas/GovernancePasskey"
type:
- array
- "null"
required:
- passkeys
type: object
GovernancePersonalToken:
additionalProperties: false
properties:
created_at:
format: date-time
type: string
expires_at:
format: date-time
type:
- string
- "null"
id:
type: string
last_used_at:
format: date-time
type:
- string
- "null"
name:
type: string
required:
- id
- name
- created_at
- expires_at
- last_used_at
type: object
GovernancePoliciesBody:
additionalProperties: false
properties:
policies:
items:
$ref: "#/components/schemas/GovernancePolicy"
type:
- array
- "null"
shipped:
description: IDs of the org policies Archie ships. They can be edited but not deleted, and a reset restores them
items:
type: string
type:
- array
- "null"
required:
- policies
- shipped
type: object
GovernancePolicy:
additionalProperties: false
properties:
id:
type: string
level:
type: string
object_id:
type: string
object_kind:
type: string
org_id:
type: string
text:
type: string
workspace_id:
type: string
required:
- id
- level
- text
type: object
GovernancePolicyVersionBody:
additionalProperties: false
properties:
version:
description: The policy chain's new revision
format: int64
type: integer
required:
- version
type: object
GovernanceRegistration:
additionalProperties: false
properties:
display_name:
type: string
email:
type: string
organisation_name:
type: string
password:
type: string
public_url:
type: string
role:
type: string
workspace_name:
type: string
required:
- email
- display_name
- password
type: object
GovernanceSettingsRequest:
additionalProperties: false
properties:
actions_per_day:
format: int64
type: integer
actions_per_run:
format: int64
type: integer
approval_deadline:
type: string
attempts_per_run:
format: int64
type: integer
default_owner:
type: string
escalation:
items:
$ref: "#/components/schemas/GovernanceStepRequest"
type:
- array
- "null"
frozen:
type: boolean
propose_autonomy_after:
format: int64
type: integer
recurrence_threshold:
format: int64
type: integer
timing:
$ref: "#/components/schemas/GovernanceTiming"
required:
- approval_deadline
- propose_autonomy_after
- frozen
- recurrence_threshold
- attempts_per_run
- default_owner
- escalation
- timing
- actions_per_run
- actions_per_day
type: object
GovernanceStepRequest:
additionalProperties: false
properties:
account:
type: string
deadline:
type: string
required:
- account
- deadline
type: object
GovernanceTiming:
additionalProperties: false
properties:
blackouts:
items:
$ref: "#/components/schemas/GovernanceBlackout"
type:
- array
- "null"
days:
items:
type: string
type:
- array
- "null"
end:
type: string
start:
type: string
zone:
type: string
required:
- zone
- start
- end
- days
- blackouts
type: object
GovernanceTokensBody:
additionalProperties: false
properties:
available:
type: boolean
tokens:
items:
$ref: "#/components/schemas/GovernancePersonalToken"
type:
- array
- "null"
required:
- tokens
- available
type: object
GovernanceUserBody:
additionalProperties: false
properties:
user:
$ref: "#/components/schemas/GovernanceIdentity"
required:
- user
type: object
GovernanceWorkspace:
additionalProperties: false
properties:
environment:
type: string
id:
type: string
name:
type: string
org_id:
type: string
version:
format: int64
type: integer
required:
- id
- org_id
- name
- version
type: object
GovernanceWorkspaceBody:
additionalProperties: false
properties:
workspace:
$ref: "#/components/schemas/GovernanceWorkspace"
required:
- workspace
type: object
GovernanceWorkspacesBody:
additionalProperties: false
properties:
workspaces:
items:
$ref: "#/components/schemas/GovernanceWorkspace"
type:
- array
- "null"
required:
- workspaces
type: object
JudgementAction:
additionalProperties: false
properties:
connector:
type: string
digest:
type: string
effect:
$ref: "#/components/schemas/ConnectorsEffect"
input: {}
installation:
$ref: "#/components/schemas/ConnectorsInstallation"
name:
type: string
target:
$ref: "#/components/schemas/ConnectorsTarget"
required:
- connector
- installation
- name
- input
- digest
- target
- effect
type: object
JudgementActionTypeDetail:
additionalProperties: false
properties:
action:
type: string
autonomy_proposals:
items:
$ref: "#/components/schemas/JudgementAutonomyProposalView"
type:
- array
- "null"
connector:
type: string
count:
format: int64
type: integer
decisions:
format: int64
type: integer
default:
type: string
environment:
type: string
history:
items:
$ref: "#/components/schemas/JudgementHistoryEntry"
type:
- array
- "null"
id:
type: string
last_decided_at:
format: date-time
type:
- string
- "null"
level:
type: string
reset_at:
format: date-time
type:
- string
- "null"
resets:
items:
$ref: "#/components/schemas/JudgementResetView"
type:
- array
- "null"
target_kind:
type: string
tightened_at:
format: date-time
type:
- string
- "null"
tightened_because:
type: string
required:
- history
- resets
- autonomy_proposals
- id
- connector
- action
- target_kind
- environment
- level
- default
- decisions
- count
type: object
JudgementActionTypeView:
additionalProperties: false
properties:
action:
type: string
connector:
type: string
count:
format: int64
type: integer
decisions:
format: int64
type: integer
default:
type: string
environment:
type: string
id:
type: string
last_decided_at:
format: date-time
type:
- string
- "null"
level:
type: string
reset_at:
format: date-time
type:
- string
- "null"
target_kind:
type: string
tightened_at:
format: date-time
type:
- string
- "null"
tightened_because:
type: string
required:
- id
- connector
- action
- target_kind
- environment
- level
- default
- decisions
- count
type: object
JudgementAutonomyProposalView:
additionalProperties: false
properties:
answered_at:
format: date-time
type:
- string
- "null"
answered_by:
type: string
answered_by_id:
type: string
deadline:
format: date-time
type: string
evidence:
items:
$ref: "#/components/schemas/JudgementProposalEvidence"
type:
- array
- "null"
from:
type: string
id:
type: string
proposed_at:
format: date-time
type: string
state:
type: string
to:
type: string
required:
- id
- from
- to
- state
- deadline
- proposed_at
- evidence
type: object
JudgementDecision:
additionalProperties: false
properties:
action:
$ref: "#/components/schemas/JudgementAction"
at:
format: date-time
type: string
calls:
items:
$ref: "#/components/schemas/ConnectorsCall"
type:
- array
- "null"
change_request:
type: boolean
change_request_rule:
type: string
dry:
type: boolean
id:
type: string
key:
type: string
level:
type: string
reason:
type: string
refused_by:
type: string
run_id:
type: string
verdicts:
items:
$ref: "#/components/schemas/JudgementVerdict"
type:
- array
- "null"
workflow:
type: string
required:
- id
- run_id
- key
- action
- level
- verdicts
- at
type: object
JudgementFinding:
additionalProperties: false
properties:
evidence:
type: string
strength:
type: string
text:
type: string
required:
- text
type: object
JudgementHistoryEntry:
additionalProperties: false
properties:
answered_by:
type: string
answered_by_id:
type: string
approval:
type: string
at:
format: date-time
type: string
decision_id:
type: string
level:
type: string
refused_by:
type: string
run_id:
type: string
target:
type: string
required:
- decision_id
- run_id
- target
- level
- at
type: object
JudgementJudgeControl:
additionalProperties: false
properties:
advisory:
type: boolean
digest:
type: string
latest:
$ref: "#/components/schemas/JudgementJudgeStanding"
name:
type: string
settings:
additionalProperties:
type: string
type: object
settings_schema:
items:
$ref: "#/components/schemas/ConnectorsSetting"
type:
- array
- "null"
version:
type: string
required:
- name
- advisory
- settings
- settings_schema
type: object
JudgementJudgeRecord:
additionalProperties: false
properties:
advisory_reason:
type: string
answer:
type: string
answers: {}
basis:
type: string
basis_digest:
type: string
confidence:
format: double
type: number
endpoint_path:
type: string
eval_date:
type: string
http_status:
format: int64
type: integer
latency_ms:
format: int64
type: integer
model:
type: string
reason:
type: string
request: {}
response: {}
result_id:
type: string
trusted:
type: boolean
type: object
JudgementJudgeStanding:
additionalProperties: false
properties:
advisory_reason:
type: string
answer:
type: string
at:
format: date-time
type: string
eval_date:
type: string
model:
type: string
trusted:
type: boolean
required:
- trusted
- at
type: object
JudgementPolicySetView:
additionalProperties: false
properties:
body:
type: string
created_at:
format: date-time
type: string
created_by:
type: string
version:
format: int64
type: integer
versions:
items:
$ref: "#/components/schemas/JudgementVersionView"
type:
- array
- "null"
required:
- version
- body
- created_by
- created_at
- versions
type: object
JudgementProposalEvidence:
additionalProperties: false
properties:
at:
format: date-time
type: string
by:
type: string
by_id:
type: string
decision_id:
type: string
required:
- decision_id
- by
- at
type: object
JudgementResetView:
additionalProperties: false
properties:
at:
format: date-time
type: string
by:
type: string
from:
type: string
to:
type: string
required:
- from
- to
- by
- at
type: object
JudgementVerdict:
additionalProperties: false
properties:
advisory:
type: boolean
blind_spots:
items:
type: string
type:
- array
- "null"
ceiling:
type: string
digest:
type: string
failed:
type: string
findings:
items:
$ref: "#/components/schemas/JudgementFinding"
type:
- array
- "null"
guard:
type: string
judges:
items:
$ref: "#/components/schemas/JudgementJudgeRecord"
type:
- array
- "null"
owner:
type: string
version:
type: string
required:
- guard
- ceiling
type: object
JudgementVersionView:
additionalProperties: false
properties:
created_at:
format: date-time
type: string
created_by:
type: string
version:
format: int64
type: integer
required:
- version
- created_by
- created_at
type: object
MappingFailure:
additionalProperties: false
properties:
field_name:
type: string
path:
type: string
reason:
type: string
value: {}
required:
- field_name
- path
- reason
type: object
MappingField:
additionalProperties: false
properties:
name:
type: string
path:
type: string
required:
type: boolean
type:
type: string
required:
- name
- path
- type
- required
type: object
MemoryNote:
additionalProperties: false
properties:
class:
type: string
created_at:
format: date-time
type: string
disabled:
type: boolean
id:
type: string
owner_id:
type: string
purpose:
type: string
scope:
type: string
shared_by:
type: string
state:
type: string
text:
type: string
version:
format: int64
type: integer
required:
- id
- class
- scope
- state
- purpose
- text
- version
- disabled
- created_at
type: object
MemoryNotes:
additionalProperties: false
properties:
notes:
items:
$ref: "#/components/schemas/MemoryNote"
type:
- array
- "null"
required:
- notes
type: object
MemoryVersion:
additionalProperties: false
properties:
published_at:
format: date-time
type: string
publisher_id:
type: string
purpose:
type: string
text:
type: string
version:
format: int64
type: integer
required:
- version
- text
- purpose
- publisher_id
- published_at
type: object
MemoryVersions:
additionalProperties: false
properties:
versions:
items:
$ref: "#/components/schemas/MemoryVersion"
type:
- array
- "null"
required:
- versions
type: object
OverrideInputBody:
additionalProperties: false
properties:
"off":
description: True switches the inherited installation off; false restores it
type: boolean
scope:
description: Switch it off for the caller's organisation or for the caller
enum:
- org
- person
type: string
required:
- scope
- "off"
type: object
PolicyInputBody:
additionalProperties: false
properties:
body:
description: The whole policy set, as Cedar
type: string
required:
- body
type: object
PreviewInputBody:
additionalProperties: false
properties:
capture_id:
format: uuid
type: string
fields:
items:
$ref: "#/components/schemas/MappingField"
type:
- array
- "null"
required:
- capture_id
- fields
type: object
PutDraftInputBody:
additionalProperties: false
properties:
body:
description: The draft document, as YAML. It may be unfinished or invalid; publishing checks it.
type: string
revision:
description: The revision of the draft as last read, 0 when there is none; the write is refused with 409 when the stored draft is at another
format: int64
minimum: 0
type: integer
required:
- body
- revision
type: object
PutKeyFieldsInputBody:
additionalProperties: false
properties:
paths:
description: Paths into the event's fields; none uses the connector's default
items:
type: string
type:
- array
- "null"
type: object
PutSourceInputBody:
additionalProperties: false
properties:
connector:
description: The connector that parses this source's events
type: string
hmac_header:
description: The header that carries the signature (hmac only)
type: string
hmac_prefix:
description: Text before the hex digest in the signature header, such as sha256= (hmac only)
examples:
- sha256=
type: string
hmac_secret:
description: "The shared signing secret (hmac only). Write-only: it is sealed and never returned. When none is stored or sent, one is generated and returned once"
type: string
verification:
description: "How deliveries are verified: a bearer token, an HMAC-SHA256 signature of the body, or no verification"
enum:
- token
- hmac
- none
type: string
required:
- connector
type: object
PutTriggerInputBody:
additionalProperties: false
properties:
disabled:
type: boolean
event_type:
description: The event type that fires it; fixed when every is set
type: string
event_type_id:
description: Fire only for events identified as this event type of the source
format: uuid
type: string
every:
description: Fire on an interval instead of on events, such as 1h
examples:
- 1h
type: string
filter:
additionalProperties:
type: string
description: Event fields that must match exactly
type: object
mapping_id:
description: A mapping of the event type that reads the payload into the run's input under mapped
format: uuid
type: string
pending:
description: Save the trigger waiting for approval; it fires once a person approves it
type: boolean
source:
description: The source whose events fire it; fixed when every is set
type: string
workflow:
description: The workflow each match runs
type: string
required:
- workflow
type: object
PutWorkflowInputBody:
additionalProperties: false
properties:
body:
description: The workflow document, as YAML
type: string
expected_version:
description: The latest version the document was edited from, 0 for a new workflow; the save is refused with 409 when another is stored
format: int64
minimum: 0
type: integer
required:
- body
type: object
RecoverInputBody:
additionalProperties: false
properties:
code:
type: string
email:
type: string
password:
type: string
required:
- email
- code
- password
type: object
RecoveryCodeReplyBody:
additionalProperties: false
properties:
code:
type: string
required:
- code
type: object
RenameInputBody:
additionalProperties: false
properties:
expected_version:
description: The version the caller read, so a stale edit is refused
format: int64
type: integer
name:
description: The new display name
type: string
required:
- name
- expected_version
type: object
RenameInputBody1:
additionalProperties: false
properties:
title:
maxLength: 120
type: string
required:
- title
type: object
RenameWorkspaceInputBody:
additionalProperties: false
properties:
expected_version:
description: The version the caller read, so a stale edit is refused
format: int64
type: integer
name:
description: The new display name
type: string
required:
- name
- expected_version
type: object
ReplyStruct { Mappings ListMappingView "json:\"mappings\"" }Body:
additionalProperties: false
properties:
mappings:
items:
$ref: "#/components/schemas/EventsMappingView"
type:
- array
- "null"
required:
- mappings
type: object
RetryRunInputBody:
additionalProperties: false
properties:
from:
description: The step to retry from, by id or as the trail names it; by default the step that parked the run
type: string
type: object
RollbackInputBody:
additionalProperties: false
properties:
version:
description: The published version to publish again
format: int64
type: integer
required:
- version
type: object
RunWorkflowInputBody:
additionalProperties: false
properties:
input:
additionalProperties: {}
description: The workflow's inputs by name
type: object
type: object
RunsActionTrail:
additionalProperties: false
properties:
approval:
$ref: "#/components/schemas/ApprovalsView"
decision:
$ref: "#/components/schemas/JudgementDecision"
effect:
$ref: "#/components/schemas/RunsEffect"
rejudged:
$ref: "#/components/schemas/JudgementDecision"
required:
- decision
type: object
RunsDraftView:
additionalProperties: false
properties:
base_version:
format: int64
type: integer
body:
type: string
name:
type: string
revision:
format: int64
type: integer
updated_at:
format: date-time
type: string
updated_by:
type: string
required:
- name
- body
- base_version
- revision
- updated_by
- updated_at
type: object
RunsDryAction:
additionalProperties: false
properties:
action:
type: string
ask:
items:
type: string
type:
- array
- "null"
level:
type: string
outcome:
type: string
summary:
type: string
target:
type: string
why:
type: string
required:
- action
- target
- level
- outcome
type: object
RunsDryNotice:
additionalProperties: false
properties:
body:
type: string
title:
type: string
required:
- title
- body
type: object
RunsDryReport:
additionalProperties: false
properties:
actions:
items:
$ref: "#/components/schemas/RunsDryAction"
type:
- array
- "null"
at:
format: date-time
type: string
error:
type: string
findings:
type: string
notice:
$ref: "#/components/schemas/RunsDryNotice"
run_id:
type: string
state:
type: string
required:
- run_id
- state
- actions
- at
type: object
RunsEffect:
additionalProperties: false
properties:
at:
format: date-time
type: string
error:
type: string
output:
type: string
state:
type: string
required:
- state
- at
type: object
RunsLastRun:
additionalProperties: false
properties:
at:
format: date-time
type: string
id:
type: string
state:
type: string
required:
- id
- state
- at
type: object
RunsOrigin:
additionalProperties: false
properties:
event_id:
type: string
fields: {}
filter: {}
received_at:
format: date-time
type: string
source:
type: string
trigger:
type: string
type:
type: string
required:
- event_id
- source
- type
- fields
- received_at
- trigger
- filter
type: object
RunsRunCounts:
additionalProperties: false
properties:
parked:
format: int64
type: integer
queued:
format: int64
type: integer
running:
format: int64
type: integer
waiting:
format: int64
type: integer
waiting_approval:
format: int64
type: integer
required:
- queued
- running
- waiting
- waiting_approval
- parked
type: object
RunsRunView:
additionalProperties: false
properties:
attempts:
format: int64
type: integer
created_at:
format: date-time
type: string
detail:
type: string
dry:
type: boolean
error:
type: string
finished_at:
format: date-time
type:
- string
- "null"
id:
type: string
result: {}
state:
type: string
workflow:
type: string
workflow_version:
format: int64
type: integer
required:
- id
- workflow
- workflow_version
- state
- attempts
- created_at
type: object
RunsStage:
additionalProperties: false
properties:
ended_at:
format: date-time
type:
- string
- "null"
error:
type: string
name:
type: string
started_at:
format: date-time
type:
- string
- "null"
state:
type: string
summary:
type: string
target:
$ref: "#/components/schemas/RunsTarget"
type:
type: string
required:
- name
- type
- state
type: object
RunsStepType:
additionalProperties: false
properties:
name:
type: string
needs_repository:
type: boolean
settings:
$ref: "#/components/schemas/Schema"
title:
type: string
required:
- name
- title
- needs_repository
- settings
type: object
RunsTarget:
additionalProperties: false
properties:
id:
type: string
kind:
type: string
required:
- kind
- id
type: object
RunsToolCallView:
additionalProperties: false
properties:
id:
type: string
input:
type: string
name:
type: string
required:
- name
- input
type: object
RunsTrail:
additionalProperties: false
properties:
actions:
items:
$ref: "#/components/schemas/RunsActionTrail"
type:
- array
- "null"
definition:
type: string
entries:
items:
$ref: "#/components/schemas/RunsTrailEntry"
type:
- array
- "null"
origin:
$ref: "#/components/schemas/RunsOrigin"
run:
$ref: "#/components/schemas/RunsRunView"
stages:
items:
$ref: "#/components/schemas/RunsStage"
type:
- array
- "null"
required:
- run
- stages
- actions
- entries
type: object
RunsTrailEntry:
additionalProperties: false
properties:
at:
format: date-time
type: string
call_id:
type: string
error:
type: string
finish_reason:
type: string
input:
type: string
kind:
type: string
name:
type: string
output:
type: string
reasoning:
type: string
request: {}
seq:
format: int64
type: integer
step:
type: string
text:
type: string
tool_calls:
items:
$ref: "#/components/schemas/RunsToolCallView"
type:
- array
- "null"
unknown:
type: boolean
usage:
$ref: "#/components/schemas/Usage"
value: {}
required:
- seq
- at
- kind
type: object
RunsWorkflowStats:
additionalProperties: false
properties:
active:
format: int64
type: integer
failed:
format: int64
type: integer
last_run:
$ref: "#/components/schemas/RunsLastRun"
succeeded:
format: int64
type: integer
success_rate:
format: double
type:
- number
- "null"
total:
format: int64
type: integer
workflow:
type: string
required:
- workflow
- total
- succeeded
- failed
- active
- last_run
type: object
RunsWorkflowView:
additionalProperties: false
properties:
body:
type: string
created_at:
format: date-time
type: string
created_by:
type: string
enabled:
type: boolean
name:
type: string
steps:
items:
type: string
type:
- array
- "null"
version:
format: int64
type: integer
required:
- name
- version
- body
- created_by
- created_at
- steps
- enabled
type: object
Schema:
additionalProperties: false
properties:
$anchor:
type: string
$comment:
type: string
$defs:
additionalProperties:
$ref: "#/components/schemas/Schema"
type: object
$dynamicAnchor:
type: string
$dynamicRef:
type: string
$id:
type: string
$ref:
type: string
$schema:
type: string
$vocabulary:
additionalProperties:
type: boolean
type: object
additionalItems:
$ref: "#/components/schemas/Schema"
additionalProperties:
$ref: "#/components/schemas/Schema"
allOf:
items:
$ref: "#/components/schemas/Schema"
type:
- array
- "null"
anyOf:
items:
$ref: "#/components/schemas/Schema"
type:
- array
- "null"
const: {}
contains:
$ref: "#/components/schemas/Schema"
contentEncoding:
type: string
contentMediaType:
type: string
contentSchema:
$ref: "#/components/schemas/Schema"
default: {}
definitions:
additionalProperties:
$ref: "#/components/schemas/Schema"
type: object
dependentRequired:
additionalProperties:
items:
type: string
type:
- array
- "null"
type: object
dependentSchemas:
additionalProperties:
$ref: "#/components/schemas/Schema"
type: object
deprecated:
type: boolean
description:
type: string
else:
$ref: "#/components/schemas/Schema"
enum:
items: {}
type:
- array
- "null"
examples:
items: {}
type:
- array
- "null"
exclusiveMaximum:
format: double
type: number
exclusiveMinimum:
format: double
type: number
format:
type: string
if:
$ref: "#/components/schemas/Schema"
maxContains:
format: int64
type: integer
maxItems:
format: int64
type: integer
maxLength:
format: int64
type: integer
maxProperties:
format: int64
type: integer
maximum:
format: double
type: number
minContains:
format: int64
type: integer
minItems:
format: int64
type: integer
minLength:
format: int64
type: integer
minProperties:
format: int64
type: integer
minimum:
format: double
type: number
multipleOf:
format: double
type: number
not:
$ref: "#/components/schemas/Schema"
oneOf:
items:
$ref: "#/components/schemas/Schema"
type:
- array
- "null"
pattern:
type: string
patternProperties:
additionalProperties:
$ref: "#/components/schemas/Schema"
type: object
prefixItems:
items:
$ref: "#/components/schemas/Schema"
type:
- array
- "null"
properties:
additionalProperties:
$ref: "#/components/schemas/Schema"
type: object
propertyNames:
$ref: "#/components/schemas/Schema"
readOnly:
type: boolean
required:
items:
type: string
type:
- array
- "null"
then:
$ref: "#/components/schemas/Schema"
title:
type: string
unevaluatedItems:
$ref: "#/components/schemas/Schema"
unevaluatedProperties:
$ref: "#/components/schemas/Schema"
uniqueItems:
type: boolean
writeOnly:
type: boolean
type: object
SendInputBody:
additionalProperties: false
properties:
page:
maxLength: 500
type: string
page_label:
maxLength: 200
type: string
text:
minLength: 1
type: string
required:
- text
type: object
SetEnabledInputBody:
additionalProperties: false
properties:
enabled:
type: boolean
required:
- enabled
type: object
SetMemberInputBody:
additionalProperties: false
properties:
role:
description: The role to hold
type: string
workspace:
description: Scope the membership to this workspace; empty is organisation-wide
type: string
required:
- role
type: object
SignInInputBody:
additionalProperties: false
properties:
email:
type: string
password:
type: string
required:
- email
- password
type: object
SigningInputBody:
additionalProperties: false
properties:
signed:
description: True requires an HMAC signature; false asks to take deliveries without one, which a person must approve
type: boolean
required:
- signed
type: object
SourceNameInputBody:
additionalProperties: false
properties:
name:
maxLength: 100
type: string
required:
- name
type: object
SystemAdminToken:
additionalProperties: false
properties:
token:
description: Shown once; only its hash is written to the config
type: string
required:
- token
type: object
SystemBootstrap:
additionalProperties: false
properties:
admin_token_hash_prefix:
type: string
admin_token_set:
type: boolean
database_host:
type: string
listen:
type: string
schemas:
format: int64
type: integer
sealing_identity_set:
type: boolean
required:
- listen
- database_host
- schemas
- admin_token_hash_prefix
- admin_token_set
- sealing_identity_set
type: object
SystemCheck:
additionalProperties: false
properties:
error:
type: string
healthy:
type: boolean
name:
type: string
required:
- name
- healthy
type: object
SystemFailure:
additionalProperties: false
properties:
at:
format: date-time
type: string
cause:
type: string
run_id:
type: string
source:
description: A connector name, the runner, or a workflow
type: string
required:
- source
- cause
- at
type: object
SystemHealth:
additionalProperties: false
properties:
checked_at:
format: date-time
type: string
checks:
items:
$ref: "#/components/schemas/SystemCheck"
type:
- array
- "null"
connectors:
items:
$ref: "#/components/schemas/ConnectorsHealth"
type:
- array
- "null"
healthy:
type: boolean
last_failure:
$ref: "#/components/schemas/SystemFailure"
runner:
$ref: "#/components/schemas/SystemRunner"
version:
type: string
waiting:
$ref: "#/components/schemas/SystemWaiting"
required:
- version
- healthy
- checked_at
- checks
- connectors
- runner
type: object
SystemRunner:
additionalProperties: false
properties:
error:
type: string
error_at:
format: date-time
type:
- string
- "null"
healthy:
type: boolean
workers:
format: int64
type: integer
required:
- healthy
- workers
type: object
SystemWaiting:
additionalProperties: false
properties:
approvals:
description: Approval requests waiting for an answer
format: int64
type: integer
runs:
$ref: "#/components/schemas/RunsRunCounts"
required:
- approvals
- runs
type: object
TextInputBody:
additionalProperties: false
properties:
text:
description: The note itself. A credential-shaped value is redacted, and a credential or a security override is refused.
type: string
required:
- text
type: object
UpdateEventTypeInputBody:
additionalProperties: false
properties:
name:
type: string
rule:
$ref: "#/components/schemas/EventtypeRule"
required:
- name
- rule
type: object
Usage:
additionalProperties: false
properties:
cache_creation_tokens:
format: int64
type: integer
cached_tokens:
format: int64
type: integer
completion_tokens:
format: int64
type: integer
prompt_tokens:
format: int64
type: integer
total_tokens:
format: int64
type: integer
required:
- prompt_tokens
- completion_tokens
- total_tokens
type: object
securitySchemes:
bearer:
description: A personal API token, or the bootstrap admin token
scheme: bearer
type: http
session:
description: The session a browser sign-in opens
in: cookie
name: archie_session
type: apiKey
info:
title: Archie
version: dev
openapi: 3.1.0
paths:
/api/access/decisions:
get:
operationId: list-access-decisions
parameters:
- description: Only decisions about this identity
explode: false
in: query
name: principal
schema:
description: Only decisions about this identity
type: string
- description: Only decisions about this action
explode: false
in: query
name: action
schema:
description: Only decisions about this action
type: string
- description: Only decisions about this resource kind
explode: false
in: query
name: kind
schema:
description: Only decisions about this resource kind
type: string
- description: "Only decisions with this outcome. Default: every outcome"
explode: false
in: query
name: outcome
schema:
description: "Only decisions with this outcome. Default: every outcome"
enum:
- allowed
- denied
type: string
- description: Only decisions first recorded at or after this time
explode: false
in: query
name: since
schema:
description: Only decisions first recorded at or after this time
format: date-time
type: string
- description: Only decisions first recorded before this time
explode: false
in: query
name: until
schema:
description: Only decisions first recorded before this time
format: date-time
type: string
- description: How many decisions to return
explode: false
in: query
name: limit
schema:
default: 100
description: How many decisions to return
format: int64
maximum: 1000
minimum: 1
type: integer
- description: How many of the newest matching decisions to skip
explode: false
in: query
name: offset
schema:
default: 0
description: How many of the newest matching decisions to skip
format: int64
minimum: 0
type: integer
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceDecisionsBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List access policy decisions
tags:
- Access
/api/access/policies:
delete:
operationId: delete-access-policy
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/GovernancePolicy"
required: true
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Delete an access policy
tags:
- Access
get:
operationId: list-access-policies
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernancePoliciesBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the organisation's access policies
tags:
- Access
put:
operationId: put-access-policy
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/GovernancePolicy"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernancePolicyVersionBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Create or replace an access policy
tags:
- Access
/api/account/channels:
get:
operationId: list-channel-links
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceChannelsBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the channels you can link and your linked accounts
tags:
- Accounts
/api/account/channels/{connector}/link:
post:
operationId: begin-channel-link
parameters:
- in: path
name: connector
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceLinkStart"
description: OK
headers:
Cache-Control:
schema:
type: string
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Start linking a channel account
tags:
- Accounts
/api/account/channels/{connector}/{subject}:
delete:
operationId: unlink-channel
parameters:
- in: path
name: connector
required: true
schema:
type: string
- in: path
name: subject
required: true
schema:
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Unlink a channel account
tags:
- Accounts
/api/account/passkeys:
get:
operationId: list-passkeys
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernancePasskeysBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List your passkeys
tags:
- Accounts
/api/account/passkeys/begin:
post:
operationId: begin-passkey-registration
parameters:
- in: cookie
name: archie_session
schema:
type: string
responses:
"200":
content:
application/json:
schema: {}
description: OK
headers:
Cache-Control:
schema:
type: string
Set-Cookie:
schema:
type: string
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Start adding a passkey
tags:
- Accounts
/api/account/passkeys/finish:
post:
operationId: finish-passkey-registration
parameters:
- in: cookie
name: archie_session
schema:
type: string
- in: cookie
name: archie_passkey_registration
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/GovernancePasskeyFinishBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceUserBody"
description: OK
headers:
Cache-Control:
schema:
type: string
Set-Cookie:
schema:
type: string
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Finish adding a passkey
tags:
- Accounts
/api/account/passkeys/{id}:
delete:
operationId: delete-passkey
parameters:
- in: cookie
name: archie_session
schema:
type: string
- in: path
name: id
required: true
schema:
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Remove a passkey
tags:
- Accounts
/api/account/password:
post:
operationId: change-password
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ChangePasswordInputBody"
required: true
responses:
"204":
description: No Content
headers:
Cache-Control:
schema:
type: string
Set-Cookie:
schema:
type: string
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Change your password
tags:
- Accounts
/api/account/recovery:
post:
operationId: create-recovery-code
parameters:
- in: cookie
name: archie_session
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/RecoveryCodeReplyBody"
description: OK
headers:
Cache-Control:
schema:
type: string
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Create a recovery code
tags:
- Accounts
/api/accounts:
post:
operationId: create-account
parameters:
- in: cookie
name: archie_session
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceRegistration"
required: true
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceUserBody"
description: Created
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Create an account
tags:
- Accounts
/api/action-types:
get:
operationId: list-action-types
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/JudgementActionTypeView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List action types with their earned levels
tags:
- Controls
/api/action-types/{id}:
get:
operationId: get-action-type
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/JudgementActionTypeDetail"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get an action type with its history and outcomes
tags:
- Controls
/api/action-types/{id}/reset:
post:
operationId: reset-action-type
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/JudgementActionTypeView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Reset an action type to its default level
tags:
- Controls
/api/admin/token:
post:
operationId: rotate-admin-token
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/SystemAdminToken"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Rotate the admin token; the new one is shown once
tags:
- System
/api/approvals:
get:
operationId: list-approvals
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/ApprovalsView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List approval requests waiting for an answer
tags:
- Approvals
/api/approvals/{id}/answer:
post:
operationId: answer-approval
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/AnswerInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ApprovalsView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Approve or refuse an action as the signed-in person
tags:
- Approvals
/api/approvals/{id}/confirmation:
post:
operationId: begin-approval-confirmation
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ApprovalsConfirmation"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Start the passkey confirmation that approving an irreversible action needs
tags:
- Approvals
/api/auth/login:
post:
operationId: sign-in
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/SignInInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceUserBody"
description: OK
headers:
Cache-Control:
schema:
type: string
Set-Cookie:
schema:
type: string
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
security:
- {}
summary: Sign in with email and password
tags:
- Accounts
/api/auth/logout:
post:
operationId: sign-out
parameters:
- in: cookie
name: archie_session
schema:
type: string
responses:
"204":
description: No Content
headers:
Cache-Control:
schema:
type: string
Set-Cookie:
schema:
type: string
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
security:
- {}
summary: Sign out
tags:
- Accounts
/api/auth/passkey/begin:
post:
operationId: begin-passkey-sign-in
parameters:
- in: cookie
name: archie_session
schema:
type: string
responses:
"200":
content:
application/json:
schema: {}
description: OK
headers:
Cache-Control:
schema:
type: string
Set-Cookie:
schema:
type: string
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
security:
- {}
summary: Start signing in with a passkey
tags:
- Accounts
/api/auth/passkey/finish:
post:
operationId: finish-passkey-sign-in
parameters:
- in: cookie
name: archie_passkey_login
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/GovernancePasskeyFinishBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceUserBody"
description: OK
headers:
Cache-Control:
schema:
type: string
Set-Cookie:
schema:
type: string
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
security:
- {}
summary: Finish signing in with a passkey
tags:
- Accounts
/api/auth/recover:
post:
operationId: recover-account
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/RecoverInputBody"
required: true
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
security:
- {}
summary: Reset a password with a recovery code
tags:
- Accounts
/api/auth/setup:
post:
operationId: set-up-account
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceRegistration"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceUserBody"
description: OK
headers:
Cache-Control:
schema:
type: string
Set-Cookie:
schema:
type: string
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
security:
- {}
summary: Create the instance owner and sign in
tags:
- Accounts
/api/auth/status:
get:
operationId: get-auth-status
parameters:
- in: cookie
name: archie_session
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceAuthStatusBody"
description: OK
headers:
Cache-Control:
schema:
type: string
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
security:
- {}
summary: Report setup and who is signed in
tags:
- Accounts
/api/authentication:
get:
operationId: get-authentication
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceAuthenticationSettings"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get the authentication settings
tags:
- Accounts
put:
operationId: put-authentication
parameters:
- in: cookie
name: archie_session
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/AuthenticationInputBody"
required: true
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Change the authentication settings
tags:
- Accounts
/api/capabilities:
get:
operationId: get-capabilities
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceCapabilitiesBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Report which dashboard sections this binary serves
tags:
- Accounts
/api/captures:
get:
operationId: list-captures
parameters:
- explode: false
in: query
name: limit
schema:
default: 100
format: int64
maximum: 500
minimum: 1
type: integer
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsCapturesBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List recent deliveries a source kept
tags:
- Events
/api/captures/{id}/dispatches:
get:
operationId: list-capture-dispatches
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/EventsDispatchView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List trigger dispatches for a capture
tags:
- Events
/api/chat/sessions:
get:
operationId: list-chat-sessions
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ChatSessions"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List conversations, most recently active first, with the model that answers
tags:
- Chat
post:
operationId: create-chat-session
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/ChatSession"
description: Created
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Start a conversation
tags:
- Chat
/api/chat/sessions/{id}:
delete:
operationId: delete-chat-session
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Delete a conversation and its turns
tags:
- Chat
patch:
operationId: rename-chat-session
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/RenameInputBody1"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ChatSession"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Rename a conversation
tags:
- Chat
/api/chat/sessions/{id}/turns:
get:
operationId: list-chat-turns
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/ChatTurn"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List a conversation's turns with what each did
tags:
- Chat
post:
operationId: send-chat-turn
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/SendInputBody"
required: true
responses:
"202":
content:
application/json:
schema:
$ref: "#/components/schemas/ChatTurn"
description: Accepted
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Send a message; it is stored, then answered after the turns before it
tags:
- Chat
/api/chat/turns/{id}:
get:
operationId: get-chat-turn
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ChatTurn"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get one turn with what it did
tags:
- Chat
/api/chat/turns/{id}/cancel:
post:
operationId: cancel-chat-turn
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ChatTurn"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Stop a turn that is queued or running
tags:
- Chat
/api/chat/turns/{id}/events:
get:
operationId: stream-chat-turn
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
- description: Only events after this seq; every event by default
explode: false
in: query
name: after
schema:
description: Only events after this seq; every event by default
type: string
responses:
"200":
content:
text/event-stream:
schema:
type: string
description: "Server-sent events, one data frame per recorded event: {\"seq\", \"type\", ...}. Types are reasoning, delta, tool, navigate, approval, action, done, error and cancelled; the stream ends after done, error or cancelled."
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Stream what a turn records, from a cursor, until it ends
tags:
- Chat
/api/composer/messages:
get:
operationId: list-composer-messages
parameters:
- description: Only messages after this seq; the latest page by default
explode: false
in: query
name: after
schema:
description: Only messages after this seq; the latest page by default
type: string
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/DeliveriesMessage"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List composer messages with their delivery attempts
tags:
- Composer
/api/composer/stream:
get:
operationId: stream-composer
responses:
"200":
content:
text/event-stream:
schema:
type: string
description: "Server-sent events: a message event carrying {\"seq\": n} for each new message, and a keepalive comment while idle"
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Stream the seq of each new composer message
tags:
- Composer
/api/connectors:
get:
operationId: list-connectors
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/ConnectorsExtensionView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the connectors the caller can use
tags:
- Connectors
/api/connectors/{name}:
delete:
operationId: remove-connector
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsPackageState"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Remove an accepted package
tags:
- Connectors
put:
operationId: accept-connector
parameters:
- description: Lowercase letters, digits and hyphens
in: path
name: name
required: true
schema:
description: Lowercase letters, digits and hyphens
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsAcceptRequest"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsPackageState"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Accept a package and start it
tags:
- Connectors
/api/controls/judges:
get:
operationId: list-judges
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/JudgementJudgeControl"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List each guard's judge, its standing and its eval date
tags:
- Controls
/api/credential-kinds:
get:
operationId: list-credential-kinds
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/ConnectorsCredentialKind"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List credential kinds and the fields each takes
tags:
- Credentials
/api/credentials:
get:
operationId: list-credentials
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/ConnectorsCredentialView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the credentials the caller can see, never their values
tags:
- Credentials
/api/credentials/{name}:
get:
operationId: get-credential
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsCredentialView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get the credential a name resolves to for the caller, never its values
tags:
- Credentials
put:
operationId: put-credential
parameters:
- description: Lowercase letters, digits and hyphens
in: path
name: name
required: true
schema:
description: Lowercase letters, digits and hyphens
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsCredentialRequest"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsCredentialSaved"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Store a credential sealed at a scope and restart what uses it
tags:
- Credentials
/api/drafts:
get:
operationId: list-drafts
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/DraftsView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List drafts
tags:
- Drafts
/api/drafts/{id}:
get:
operationId: get-draft
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/DraftsView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get a draft
tags:
- Drafts
put:
operationId: edit-draft
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/EditInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/DraftsView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Change a draft's name, workflow and policy
tags:
- Drafts
/api/drafts/{id}/dry-run:
post:
operationId: dry-run-draft
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/DryRunInputBody"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/DraftsView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Replay a stored event against the draft workflow and policy in a dry run
tags:
- Drafts
/api/drafts/{id}/publish:
post:
operationId: publish-draft
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/DraftsView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Install the draft's workflow, policy and trigger
tags:
- Drafts
/api/event-types:
get:
operationId: list-event-types
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsEventTypesBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List event types and the types unidentified captures suggest
tags:
- Events
post:
operationId: create-event-type
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/CreateEventTypeInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsEventTypeView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Name a kind of event on a source
tags:
- Events
/api/event-types/{id}:
delete:
operationId: delete-event-type
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Delete an event type
tags:
- Events
put:
operationId: update-event-type
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/UpdateEventTypeInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsSavedID"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Rename an event type or change its rule
tags:
- Events
/api/events:
get:
operationId: list-events
parameters:
- explode: false
in: query
name: limit
schema:
default: 50
format: int64
maximum: 500
minimum: 1
type: integer
- explode: false
in: query
name: source
schema:
type: string
- explode: false
in: query
name: type
schema:
type: string
- description: Only events a trigger did or didn't match
explode: false
in: query
name: matched
schema:
description: Only events a trigger did or didn't match
enum:
- "true"
- "false"
type: string
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/EventsEventView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List recent events
tags:
- Events
/api/events/{id}:
get:
operationId: get-event
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsEventDetail"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get an event with its payload and the runs it started
tags:
- Events
/api/extension-kinds:
get:
operationId: list-extension-kinds
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/ConnectorsExtensionKind"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the kinds of extension and the group each belongs to
tags:
- Connectors
/api/extensions:
get:
operationId: list-extensions
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/ConnectorsExtensionView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List every installation the caller can see, whatever its contract and scope
tags:
- Extensions
/api/extensions/catalogue:
get:
operationId: list-catalogue
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/ConnectorsCatalogueEntry"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the extensions the signed catalogue offers
tags:
- Extension catalogue
/api/extensions/catalogue-source:
get:
operationId: get-catalogue-source
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsSourceView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get where the extension catalogue is read from
tags:
- Extension catalogue
put:
operationId: put-catalogue-source
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsCatalogueSource"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsSourceView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Set where the extension catalogue is read from and the key that signs it
tags:
- Extension catalogue
/api/extensions/catalogue/{name}/install:
post:
operationId: install-extension
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsLifecycle"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Fetch an extension at the digest the catalogue pins and install it, not yet accepted
tags:
- Extension catalogue
/api/extensions/{name}:
delete:
operationId: remove-extension
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsPackageState"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Remove an accepted package
tags:
- Extensions
/api/extensions/{name}/accept:
post:
operationId: accept-extension-grants
parameters:
- in: path
name: name
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsGrantsRequest"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsLifecycle"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Accept the grants an installed extension may use, and its settings
tags:
- Extension catalogue
/api/extensions/{name}/approve-update:
post:
operationId: approve-extension-update
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsLifecycle"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Apply the pending update and accept the grants it declares
tags:
- Extension catalogue
/api/extensions/{name}/enabled:
put:
operationId: put-extension-enabled
parameters:
- in: path
name: name
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ExtensionEnabledInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsLifecycle"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Start or stop an accepted extension
tags:
- Extension catalogue
/api/extensions/{name}/rollback:
post:
operationId: rollback-extension
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsLifecycle"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Restore the previous version with the grants accepted for it
tags:
- Extension catalogue
/api/extensions/{name}/settings:
put:
operationId: put-extension-settings
parameters:
- in: path
name: name
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ExtensionSettingsInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsLifecycle"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Save an installed extension's settings and restart it
tags:
- Extension catalogue
/api/extensions/{name}/update:
post:
operationId: update-extension
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsLifecycle"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Move an extension to the digest the catalogue now pins
tags:
- Extension catalogue
/api/extensions/{name}/update-policy:
put:
operationId: put-extension-update-policy
parameters:
- in: path
name: name
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ExtensionPolicyInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsLifecycle"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Set whether an extension follows the catalogue on its own
tags:
- Extension catalogue
/api/groups:
get:
operationId: list-groups
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/EventsGroupView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List groups of unmatched events
tags:
- Events
/api/groups/{id}/draft:
post:
operationId: draft-group
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/DraftsView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Draft a trigger and workflow for a group of unmatched events
tags:
- Drafts
/api/guards:
get:
operationId: list-guards
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/ConnectorsExtensionView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the guards the caller can use
tags:
- Guards
/api/guards/{name}:
delete:
operationId: remove-guard
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsPackageState"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Remove an accepted package
tags:
- Guards
put:
operationId: accept-guard
parameters:
- description: Lowercase letters, digits and hyphens
in: path
name: name
required: true
schema:
description: Lowercase letters, digits and hyphens
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsAcceptRequest"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsPackageState"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Accept a package and start it
tags:
- Guards
/api/installations:
post:
operationId: create-installation
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/CreateInstallationInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsExtensionView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Install an accepted package at the instance, the caller's organisation or the caller
tags:
- Installations
/api/installations/{id}:
delete:
operationId: remove-installation
parameters:
- in: path
name: id
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsPackageState"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Remove an installation; its package stays accepted
tags:
- Installations
put:
operationId: update-installation
parameters:
- in: path
name: id
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsInstallationRequest"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsExtensionView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Change an installation's configuration and restart it
tags:
- Installations
/api/installations/{id}/override:
put:
operationId: put-installation-override
parameters:
- in: path
name: id
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/OverrideInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsPackageState"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Switch an inherited installation off or on for the caller's organisation or the caller
tags:
- Installations
/api/mappings:
get:
operationId: list-mappings
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ReplyStruct { Mappings ListMappingView \"json:\\\"mappings\\\"\" }Body"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List field mappings with how often each matched
tags:
- Events
post:
operationId: create-mapping
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/EventsMappingBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsMappingView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Create a field mapping
tags:
- Events
/api/mappings/preview:
post:
operationId: preview-mapping
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/PreviewInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsPreviewBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Read a captured payload through candidate fields
tags:
- Events
/api/mappings/{id}:
delete:
operationId: delete-mapping
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Delete a field mapping
tags:
- Events
get:
operationId: get-mapping
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsMappingView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get a field mapping
tags:
- Events
patch:
operationId: update-mapping
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/EventsMappingBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsMappingView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Change a field mapping
tags:
- Events
/api/mcp-servers:
get:
operationId: list-mcp-servers
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/ConnectorsExtensionView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the MCP servers the caller can use
tags:
- MCP servers
/api/mcp-servers/{name}:
delete:
operationId: remove-mcp-server
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsPackageState"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Remove an accepted package
tags:
- MCP servers
put:
operationId: accept-mcp-server
parameters:
- description: Lowercase letters, digits and hyphens
in: path
name: name
required: true
schema:
description: Lowercase letters, digits and hyphens
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsMcpRequest"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsPackageState"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Accept an MCP server and the tools it may offer
tags:
- MCP servers
/api/memory/notes:
get:
operationId: list-memory-notes
parameters:
- description: The memory class, durable facts by default
explode: false
in: query
name: class
schema:
description: The memory class, durable facts by default
enum:
- working_context
- episodic_history
- enterprise_retrieval
- durable_fact
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/MemoryNotes"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the notes you may read
tags:
- Memory
post:
operationId: remember-memory-note
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/TextInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/MemoryNote"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Remember a note for yourself
tags:
- Memory
/api/memory/notes/{id}:
delete:
operationId: forget-memory-note
parameters:
- description: The note's id
in: path
name: id
required: true
schema:
description: The note's id
format: uuid
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Forget one of your notes
tags:
- Memory
patch:
operationId: correct-memory-note
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/CorrectInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/MemoryNote"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Correct one of your notes
tags:
- Memory
/api/memory/notes/{id}/disabled:
post:
operationId: disable-memory-note
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/DisabledInputBody"
required: true
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Stop one of your notes being read, or resume it
tags:
- Memory
/api/memory/proposals:
get:
operationId: list-note-proposals
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/MemoryNotes"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List notes waiting to be published
tags:
- Memory
post:
operationId: propose-shared-note
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/TextInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/MemoryNote"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Propose a note for the whole organisation
tags:
- Memory
/api/memory/proposals/{id}/publish:
post:
operationId: approve-note-proposal
parameters:
- description: The note's id
in: path
name: id
required: true
schema:
description: The note's id
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/MemoryNote"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Publish a proposed note
tags:
- Memory
/api/memory/shared:
get:
operationId: list-shared-notes
parameters:
- description: The memory class, durable facts by default
explode: false
in: query
name: class
schema:
description: The memory class, durable facts by default
enum:
- working_context
- episodic_history
- enterprise_retrieval
- durable_fact
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/MemoryNotes"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the notes published to the organisation
tags:
- Memory
post:
operationId: publish-shared-note
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/TextInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/MemoryNote"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Publish a note to the whole organisation
tags:
- Memory
/api/memory/shared/{id}:
delete:
operationId: revoke-shared-note
parameters:
- description: The note's id
in: path
name: id
required: true
schema:
description: The note's id
format: uuid
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Revoke a shared note, published or proposed
tags:
- Memory
/api/memory/shared/{id}/rollback:
post:
operationId: roll-back-shared-note
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/RollbackInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/MemoryNote"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Publish an earlier version of a shared note again
tags:
- Memory
/api/memory/shared/{id}/versions:
get:
operationId: list-note-versions
parameters:
- description: The note's id
in: path
name: id
required: true
schema:
description: The note's id
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/MemoryVersions"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the published versions of a shared note
tags:
- Memory
/api/orgs:
get:
operationId: list-orgs
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceOrgsBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the organisation the caller acts in
tags:
- Organisations
/api/orgs/{id}:
get:
operationId: get-org
parameters:
- description: Organisation ID
in: path
name: id
required: true
schema:
description: Organisation ID
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceOrgBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get an organisation
tags:
- Organisations
patch:
operationId: rename-org
parameters:
- description: Organisation ID
in: path
name: id
required: true
schema:
description: Organisation ID
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/RenameInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceOrgBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Rename an organisation
tags:
- Organisations
/api/orgs/{id}/history:
get:
operationId: list-org-events
parameters:
- description: Organisation ID
in: path
name: id
required: true
schema:
description: Organisation ID
type: string
- description: How many changes to return, at most 200
explode: false
in: query
name: limit
schema:
default: 50
description: How many changes to return, at most 200
format: int64
type: integer
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceOrgEventsBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the organisation's name changes
tags:
- Organisations
/api/orgs/{id}/member-candidates:
get:
operationId: list-org-member-candidates
parameters:
- description: Organisation ID
in: path
name: id
required: true
schema:
description: Organisation ID
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceCandidatesBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List active identities that can be added as members
tags:
- Access
/api/orgs/{id}/members:
get:
operationId: list-org-members
parameters:
- description: Organisation ID
in: path
name: id
required: true
schema:
description: Organisation ID
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceMembersBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List an organisation's members
tags:
- Access
post:
operationId: add-org-member
parameters:
- description: Organisation ID
in: path
name: id
required: true
schema:
description: Organisation ID
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/AddMemberInputBody"
required: true
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceMembershipBody"
description: Created
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Add a person by email or provider subject
tags:
- Access
/api/orgs/{id}/members/{identity}:
delete:
operationId: remove-org-member
parameters:
- description: Organisation ID
in: path
name: id
required: true
schema:
description: Organisation ID
type: string
- description: Identity ID of the member
in: path
name: identity
required: true
schema:
description: Identity ID of the member
type: string
- description: Remove the membership scoped to this workspace; empty removes the organisation-wide one
explode: false
in: query
name: workspace
schema:
description: Remove the membership scoped to this workspace; empty removes the organisation-wide one
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Remove a membership
tags:
- Access
put:
operationId: set-org-member
parameters:
- description: Organisation ID
in: path
name: id
required: true
schema:
description: Organisation ID
type: string
- description: Identity ID of the member
in: path
name: identity
required: true
schema:
description: Identity ID of the member
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/SetMemberInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceMembershipBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Give a member a role
tags:
- Access
/api/orgs/{id}/members/{identity}/reactivate:
post:
operationId: reactivate-org-member
parameters:
- description: Organisation ID
in: path
name: id
required: true
schema:
description: Organisation ID
type: string
- description: Identity ID of the member
in: path
name: identity
required: true
schema:
description: Identity ID of the member
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Reactivate a member's identity
tags:
- Access
/api/orgs/{id}/members/{identity}/suspend:
post:
operationId: suspend-org-member
parameters:
- description: Organisation ID
in: path
name: id
required: true
schema:
description: Organisation ID
type: string
- description: Identity ID of the member
in: path
name: identity
required: true
schema:
description: Identity ID of the member
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Suspend a member's identity
tags:
- Access
/api/orgs/{id}/workspaces:
get:
operationId: list-org-workspaces
parameters:
- description: Organisation ID
in: path
name: id
required: true
schema:
description: Organisation ID
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceWorkspacesBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List an organisation's workspaces
tags:
- Organisations
post:
operationId: create-org-workspace
parameters:
- description: Organisation ID
in: path
name: id
required: true
schema:
description: Organisation ID
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/CreateWorkspaceInputBody"
required: true
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceWorkspaceBody"
description: Created
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Create a workspace
tags:
- Organisations
/api/orgs/{id}/workspaces/{workspace}:
patch:
operationId: rename-org-workspace
parameters:
- description: Organisation ID
in: path
name: id
required: true
schema:
description: Organisation ID
type: string
- description: Workspace ID
in: path
name: workspace
required: true
schema:
description: Workspace ID
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/RenameWorkspaceInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceWorkspaceBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Rename a workspace
tags:
- Organisations
/api/packages:
get:
operationId: list-packages
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/ConnectorsPackageView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the packages the instance accepted
tags:
- Installations
/api/policies/change-request:
get:
operationId: get-change-request-rules
parameters:
- description: A past version; the current one by default
explode: false
in: query
name: version
schema:
description: A past version; the current one by default
format: int64
minimum: 1
type: integer
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/JudgementPolicySetView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get the change-request rules
tags:
- Controls
put:
operationId: put-change-request-rules
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/PolicyInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/JudgementPolicySetView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Replace the change-request rules with a new version
tags:
- Controls
/api/policies/hard-rules:
get:
operationId: get-hard-rules
parameters:
- description: A past version; the current one by default
explode: false
in: query
name: version
schema:
description: A past version; the current one by default
format: int64
minimum: 1
type: integer
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/JudgementPolicySetView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get the hard rules
tags:
- Controls
put:
operationId: put-hard-rules
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/PolicyInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/JudgementPolicySetView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Replace the hard rules with a new version
tags:
- Controls
/api/runs:
get:
operationId: list-runs
parameters:
- explode: false
in: query
name: limit
schema:
default: 50
format: int64
maximum: 200
minimum: 1
type: integer
- description: Only this workflow's runs
explode: false
in: query
name: workflow
schema:
description: Only this workflow's runs
type: string
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/RunsRunView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List recent runs
tags:
- Runs
/api/runs/{id}:
get:
operationId: get-run
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/RunsTrail"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get a run's decision trail
tags:
- Runs
/api/runs/{id}/cancel:
post:
operationId: cancel-run
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/RunsRunView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Cancel a run and the runs it started with workflow.call
tags:
- Runs
/api/runs/{id}/retry:
post:
operationId: retry-run
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/RetryRunInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/RunsRunView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Restart a parked or ended run from a step, keeping the results of the steps before it
tags:
- Runs
/api/secret-engines:
get:
operationId: list-secret-engines
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/ConnectorsExtensionView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the secret engines the caller can use
tags:
- Secret engines
/api/secret-engines/{name}:
delete:
operationId: remove-secret-engine
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsPackageState"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Remove an accepted package
tags:
- Secret engines
put:
operationId: accept-secret-engine
parameters:
- description: Lowercase letters, digits and hyphens
in: path
name: name
required: true
schema:
description: Lowercase letters, digits and hyphens
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsAcceptRequest"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectorsPackageState"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Accept a package and start it
tags:
- Secret engines
/api/settings:
get:
operationId: get-settings
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceSettingsRequest"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get the organisation settings
tags:
- Governance
put:
operationId: put-settings
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceSettingsRequest"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceSettingsRequest"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Change the organisation settings
tags:
- Governance
/api/settings/agent-model:
delete:
operationId: delete-agent-model
parameters:
- description: Agent model alias; omit for the default model
explode: false
in: query
name: alias
schema:
description: Agent model alias; omit for the default model
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Delete an agent model
tags:
- Governance
get:
operationId: get-agent-model
parameters:
- description: Agent model alias; omit for the default model
explode: false
in: query
name: alias
schema:
description: Agent model alias; omit for the default model
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceModel"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get the agent model
tags:
- Governance
put:
operationId: put-agent-model
parameters:
- description: Agent model alias; omit for the default model
explode: false
in: query
name: alias
schema:
description: Agent model alias; omit for the default model
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceModel"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceModel"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Set the agent model
tags:
- Governance
/api/settings/agent-model/test:
post:
operationId: test-agent-model
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceModel"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceModelAnswer"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Ask a model one question before saving it
tags:
- Governance
/api/settings/agent-models:
get:
operationId: list-agent-models
responses:
"200":
content:
application/json:
schema:
additionalProperties:
$ref: "#/components/schemas/GovernanceModel"
type: object
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List agent models by alias
tags:
- Governance
/api/settings/instructions:
get:
operationId: get-instructions
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceInstructionsBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get the organisation's standing instructions
tags:
- Governance
put:
operationId: put-instructions
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceInstructionsBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceInstructionsBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Change the organisation's standing instructions
tags:
- Governance
/api/settings/model-classes:
get:
operationId: list-model-classes
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/GovernanceModelClass"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the provider classes the runtime can build
tags:
- Governance
/api/settings/model-policy:
get:
operationId: get-model-policy
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceModelPolicy"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get which aliases workflows and chat may use
tags:
- Governance
put:
operationId: put-model-policy
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceModelPolicy"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceModelPolicy"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Set which aliases workflows and chat may use
tags:
- Governance
/api/settings/model-providers:
get:
operationId: list-model-providers
responses:
"200":
content:
application/json:
schema:
additionalProperties:
$ref: "#/components/schemas/GovernanceModelProvider"
type: object
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List model providers
tags:
- Governance
/api/settings/model-providers/{name}:
delete:
operationId: delete-model-provider
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Delete a model provider no alias uses
tags:
- Governance
put:
operationId: put-model-provider
parameters:
- description: Lowercase letters, digits, dots, underscores or hyphens
in: path
name: name
required: true
schema:
description: Lowercase letters, digits, dots, underscores or hyphens
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceModelProvider"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceModelProvider"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Save a model provider
tags:
- Governance
/api/sources:
get:
operationId: list-sources
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/EventsSourceView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List sources
tags:
- Events
/api/sources/{name}:
delete:
operationId: delete-source
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Delete a source
tags:
- Events
put:
operationId: put-source
parameters:
- description: Lowercase letters, digits and hyphens; the webhook URL ends in it
in: path
name: name
required: true
schema:
description: Lowercase letters, digits and hyphens; the webhook URL ends in it
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/PutSourceInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsSourceCreated"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Add or update a source, its verification scheme and its token
tags:
- Events
/api/sources/{name}/approve-unsigned:
post:
operationId: approve-source-unsigned
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsSourceView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Accept deliveries that carry no signature
tags:
- Events
/api/sources/{name}/capture:
put:
operationId: set-source-capture
parameters:
- in: path
name: name
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/CaptureInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsSourceView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Keep or stop keeping the headers and payloads a source receives
tags:
- Events
/api/sources/{name}/delivery-header:
put:
operationId: set-source-delivery-header
parameters:
- in: path
name: name
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/DeliveryHeaderInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsSourceView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Name the header a sender repeats when it retries a delivery
tags:
- Events
/api/sources/{name}/key-fields:
put:
operationId: put-source-key-fields
parameters:
- in: path
name: name
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/PutKeyFieldsInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsKeyFieldsSaved"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Set the fields a source's events are grouped by
tags:
- Events
/api/sources/{name}/name:
put:
operationId: set-source-name
parameters:
- in: path
name: name
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/SourceNameInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsSourceView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Label a source
tags:
- Events
/api/sources/{name}/secret:
post:
operationId: rotate-source-secret
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsSourceView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Replace a signed source's secret and return it once
tags:
- Events
/api/sources/{name}/signing:
post:
operationId: set-source-signing
parameters:
- in: path
name: name
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/SigningInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsSourceView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Require an HMAC signature, or ask to take unsigned deliveries
tags:
- Events
/api/stream:
get:
operationId: stream-dashboard
responses:
"200":
content:
text/event-stream:
schema:
type: string
description: "Server-sent events: one data frame of {\"topic\", \"data\"} per update, and a keepalive comment while idle"
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Stream live dashboard updates
tags:
- Dashboard
/api/system/bootstrap:
get:
operationId: get-bootstrap
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/SystemBootstrap"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get the bootstrap values, which only the config file sets
tags:
- System
/api/system/health:
get:
operationId: get-system-health
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/SystemHealth"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Report whether each module, connector and the runner is working, and what waits on a person
tags:
- System
/api/tokens:
get:
operationId: list-personal-tokens
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceTokensBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List your personal API tokens
tags:
- Accounts
post:
operationId: create-personal-token
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/CreateTokenInputBody"
required: true
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceCreatedToken"
description: Created
headers:
Cache-Control:
schema:
type: string
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Create a personal API token
tags:
- Accounts
/api/tokens/{id}:
delete:
operationId: revoke-personal-token
parameters:
- in: path
name: id
required: true
schema:
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Revoke a personal API token
tags:
- Accounts
/api/triggers:
get:
operationId: list-triggers
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/EventsTriggerView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List triggers
tags:
- Events
/api/triggers/{name}:
delete:
operationId: delete-trigger
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Delete a trigger
tags:
- Events
put:
operationId: put-trigger
parameters:
- description: Lowercase letters, digits and hyphens
in: path
name: name
required: true
schema:
description: Lowercase letters, digits and hyphens
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/PutTriggerInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsTriggerSaved"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Add or change a trigger
tags:
- Events
/api/triggers/{name}/approve:
post:
operationId: approve-trigger
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsTriggerView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Arm a trigger that waits for approval
tags:
- Events
/api/triggers/{name}/dispatches:
get:
operationId: list-trigger-dispatches
parameters:
- in: path
name: name
required: true
schema:
type: string
- explode: false
in: query
name: limit
schema:
default: 50
format: int64
maximum: 200
minimum: 1
type: integer
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/EventsDispatchView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the dispatches of a trigger
tags:
- Events
/api/triggers/{name}/pause:
post:
operationId: pause-trigger
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsTriggerView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Stop a trigger firing
tags:
- Events
/api/triggers/{name}/resume:
post:
operationId: resume-trigger
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/EventsTriggerView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Return a paused trigger to waiting for approval
tags:
- Events
/api/workflow-drafts:
get:
operationId: list-workflow-drafts
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/RunsDraftView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List every workflow's unpublished draft
tags:
- Workflows
/api/workflow-stats:
get:
operationId: list-workflow-stats
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/RunsWorkflowStats"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Count each workflow's runs, with its last run and success rate
tags:
- Workflows
/api/workflow-step-types:
get:
operationId: list-workflow-step-types
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/RunsStepType"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List the step types a workflow document may name, with their titles and settings schemas
tags:
- Workflows
/api/workflows:
get:
operationId: list-workflows
responses:
"200":
content:
application/json:
schema:
items:
$ref: "#/components/schemas/RunsWorkflowView"
type:
- array
- "null"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List every workflow at its latest version
tags:
- Workflows
/api/workflows/{name}:
delete:
operationId: delete-workflow
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Delete a workflow, unless a trigger or another workflow still names it
tags:
- Workflows
get:
operationId: get-workflow
parameters:
- in: path
name: name
required: true
schema:
type: string
- description: A past version; the latest by default
explode: false
in: query
name: version
schema:
description: A past version; the latest by default
format: int64
minimum: 1
type: integer
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/RunsWorkflowView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get a workflow
tags:
- Workflows
put:
operationId: put-workflow
parameters:
- description: Lowercase letters and digits, joined by dots or hyphens
in: path
name: name
required: true
schema:
description: Lowercase letters and digits, joined by dots or hyphens
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/PutWorkflowInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/RunsWorkflowView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Publish a workflow document as its next version
tags:
- Workflows
/api/workflows/{name}/draft:
delete:
operationId: discard-workflow-draft
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"204":
description: No Content
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Discard a workflow's draft
tags:
- Workflows
get:
operationId: get-workflow-draft
parameters:
- in: path
name: name
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/RunsDraftView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Get a workflow's unpublished draft
tags:
- Workflows
put:
operationId: put-workflow-draft
parameters:
- description: Lowercase letters and digits, joined by dots or hyphens
in: path
name: name
required: true
schema:
description: Lowercase letters and digits, joined by dots or hyphens
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/PutDraftInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/RunsDraftView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Save a workflow's draft, which no run uses until it is published
tags:
- Workflows
/api/workflows/{name}/draft/test-run:
post:
operationId: test-workflow-draft
parameters:
- in: path
name: name
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/RunWorkflowInputBody"
required: true
responses:
"202":
content:
application/json:
schema:
$ref: "#/components/schemas/RunsRunView"
description: Accepted
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: "Test-run a workflow's draft: every action is judged and none that changes something runs"
tags:
- Workflows
/api/workflows/{name}/enabled:
put:
operationId: set-workflow-enabled
parameters:
- in: path
name: name
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/SetEnabledInputBody"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/RunsWorkflowView"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Enable or disable a workflow
tags:
- Workflows
/api/workflows/{name}/runs:
post:
operationId: run-workflow
parameters:
- in: path
name: name
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/RunWorkflowInputBody"
required: true
responses:
"202":
content:
application/json:
schema:
$ref: "#/components/schemas/RunsRunView"
description: Accepted
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Run a workflow now with an input
tags:
- Workflows
/oauth2/callback:
get:
operationId: finish-oidc-sign-in
parameters:
- explode: false
in: query
name: code
schema:
type: string
- explode: false
in: query
name: state
schema:
type: string
- explode: false
in: query
name: error
schema:
type: string
- in: cookie
name: archie_login_state
schema:
type: string
- in: cookie
name: archie_login_verifier
schema:
type: string
responses:
"303":
description: See Other
headers:
Cache-Control:
schema:
type: string
Location:
schema:
type: string
Set-Cookie:
schema:
type: string
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
security:
- {}
summary: Complete the identity provider's sign-in
tags:
- Accounts
/oauth2/login:
get:
operationId: begin-oidc-sign-in
parameters:
- in: cookie
name: archie_session
schema:
type: string
responses:
"303":
description: See Other
headers:
Cache-Control:
schema:
type: string
Location:
schema:
type: string
Set-Cookie:
schema:
type: string
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
security:
- {}
summary: Send the browser to the identity provider
tags:
- Accounts
security:
- session: []
- bearer: []