Agents API
21 operations. Back to the API overview. Examples use synthetic data.
Agent executions
GET /admin/v1/agent-executions
Needs the permission: transactions:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
agent | query | string | optional | - |
limit | query | string | optional | - |
outcome | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
executions | any | optional | - |
{
"executions": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/agent-executions"Agent loops
GET /admin/v1/agent-loops
Needs the permission: transactions:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
agent | query | string | optional | - |
loop | query | string | optional | - |
status | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
loops | any | optional | - |
{
"loops": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/agent-loops"Agent loops export
GET /admin/v1/agent-loops/export
Needs the permission: transactions:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
agent | query | string | optional | - |
loop | query | string | optional | - |
status | query | string | optional | - |
Response 200
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/agent-loops/export"Agent loop
GET /admin/v1/agent-loops/{id}
Needs the permission: transactions:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
events | any | optional | - |
loop | any | optional | - |
{
"events": {},
"loop": {}
}Other responses
401Authentication required403Not permitted404Not Found
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/agent-loops/example-id"Agent loop ack
POST /admin/v1/agent-loops/{id}/acknowledge
Needs the permission: dlq:retransmit.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
note | string | optional | - |
reason | string | optional | - |
{
"note": "example",
"reason": "Example text"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
status | any | optional | - |
step | any | optional | - |
{
"status": {},
"step": {}
}Other responses
401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"note":"example","reason":"Example text"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/agent-loops/example-id/acknowledge"Agent loop close
POST /admin/v1/agent-loops/{id}/close
Needs the permission: dlq:retransmit.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
note | string | optional | - |
reason | string | optional | - |
{
"note": "example",
"reason": "Example text"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
status | any | optional | - |
step | any | optional | - |
{
"status": {},
"step": {}
}Other responses
401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"note":"example","reason":"Example text"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/agent-loops/example-id/close"Agent publish
POST /admin/v1/agent-publications
Needs the permission: agents:publish.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
accept_terms | string | optional | - |
file | string | optional | - |
organization | object (AgentOrganization) | optional | Organization is the publisher's identity claim. |
organization.kind | string | optional | Kind is provider (default: name and NPI) or vendor (an approved verified vendor; the registry takes the name from its application). |
organization.name | string | optional | - |
organization.npi | string | optional | - |
organization.verified | string | optional | - |
{
"accept_terms": "example",
"file": "example",
"organization": {
"kind": "example",
"name": "example-name",
"npi": "example",
"verified": "example"
}
}Response 201
{}Other responses
401Authentication required403Not permitted404Not Found422Unprocessable (invalid configuration or input)502Bad Gateway503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"accept_terms":"example","file":"example","organization":{"kind":"example","name":"example-name","npi":"example","verified":"example"}}' \
"https://YOUR-CONSOLE-HOST/admin/v1/agent-publications"Agent settings get
GET /admin/v1/agent-settings
Needs the permission: config:history.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
baa_services | any | optional | - |
baa_url | any | optional | - |
default_project | any | optional | - |
linked | any | optional | - |
permissions | array of string | optional | - |
settings | object (ConfigAgentSettings) | optional | AgentSettings links the tenant's Google Cloud project: Google Cloud AI and the Google Cloud APIs agents call run there, billed by Google to the tenant. AI agents do not run until the link is verified. |
settings.baa_confirmed_at | string (date-time) | optional | - |
settings.baa_confirmed_by | string | optional | The administrator confirmed the tenant accepted Google Cloud's BAA for the project's billing account. |
settings.gcp_project | string | optional | - |
settings.id | string | optional | - |
settings.location | string | optional | Google Cloud AI location (default us) |
settings.missing | array of string | optional | - |
settings.official_only | boolean | optional | OfficialOnly restricts installs to official agents (Enterprise). |
settings.source | string | optional | Source says where the project came from: marketplace (the project the Marketplace purchase was made in) or chosen. |
settings.verified_at | string (date-time) | optional | VerifiedAt is when the verification check passed (every permission the installed agents need, tested with testIamPermissions as the tenant's service account); Missing lists what it lacked. |
{
"baa_services": {},
"baa_url": {},
"default_project": {},
"linked": {},
"permissions": [
"example"
],
"settings": {
"baa_confirmed_at": "2026-01-15T14:30:00Z",
"baa_confirmed_by": "example",
"gcp_project": "example",
"id": "example-id",
"location": "example",
"missing": [
"example"
],
"official_only": true,
"source": "example",
"verified_at": "2026-01-15T14:30:00Z"
}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/agent-settings"Agent settings put
PUT /admin/v1/agent-settings
Needs the permission: agents:activate.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
baa_confirmed | boolean | optional | - |
gcp_project | string | optional | - |
location | string | optional | - |
official_only | boolean | optional | - |
{
"baa_confirmed": true,
"gcp_project": "example",
"location": "example",
"official_only": true
}Response 200
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request PUT \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"baa_confirmed":true,"gcp_project":"example","location":"example","official_only":true}' \
"https://YOUR-CONSOLE-HOST/admin/v1/agent-settings"Agent settings verify
POST /admin/v1/agent-settings/verify
Needs the permission: agents:activate.
Request body
{}Response 200
{}Other responses
401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)502Bad Gateway503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/agent-settings/verify"Agent usage
GET /admin/v1/agent-usage
Needs the permission: metrics:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
month | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
agents | array of any | optional | - |
amount_cents | integer | optional | - |
note | string | optional | - |
period_end | any | optional | - |
period_start | any | optional | - |
rates | object | optional | - |
rates.outreach_micros | any | optional | - |
rates.standard_micros | any | optional | - |
{
"agents": [
{}
],
"amount_cents": 1,
"note": "example",
"period_end": {},
"period_start": {},
"rates": {
"outreach_micros": {},
"standard_micros": {}
}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/agent-usage"Agents installed
GET /admin/v1/agents
Needs the permission: config:history.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
installs | array of object (InstallOut) | optional | - |
installs.[]entity_version | integer | optional | - |
installs.[]install | object (AgentInstall) | optional | Install is the configuration document of an installed agent. |
installs.[]mode | string | optional | - |
installs.[]name | string | optional | - |
installs.[]pending_capabilities | array of string | optional | - |
installs.[]ready | boolean | optional | - |
installs.[]samples | integer | optional | - |
linked | any | optional | - |
settings | object (ConfigAgentSettings) | optional | AgentSettings links the tenant's Google Cloud project: Google Cloud AI and the Google Cloud APIs agents call run there, billed by Google to the tenant. AI agents do not run until the link is verified. |
settings.baa_confirmed_at | string (date-time) | optional | - |
settings.baa_confirmed_by | string | optional | The administrator confirmed the tenant accepted Google Cloud's BAA for the project's billing account. |
settings.gcp_project | string | optional | - |
settings.id | string | optional | - |
settings.location | string | optional | Google Cloud AI location (default us) |
settings.missing | array of string | optional | - |
settings.official_only | boolean | optional | OfficialOnly restricts installs to official agents (Enterprise). |
settings.source | string | optional | Source says where the project came from: marketplace (the project the Marketplace purchase was made in) or chosen. |
settings.verified_at | string (date-time) | optional | VerifiedAt is when the verification check passed (every permission the installed agents need, tested with testIamPermissions as the tenant's service account); Missing lists what it lacked. |
{
"installs": [
{
"entity_version": 1,
"install": {
"activation": {},
"approval": {},
"blocking": true,
"channels": {},
"critical_values": [],
"destinations": [],
"directory": "example",
"file": "example",
"gcp_project": "example",
"id": "example-id",
"lookups": {},
"loop_due": {},
"minutes_saved": 1,
"notify": {},
"parallel_run": {},
"policy": "example",
"public_key": "example",
"publisher": "example",
"purged": true,
"remix": {},
"revoked": true,
"revoked_note": "example",
"routes": [],
"run_mode": "example",
"sha256": "example",
"signature": "example",
"state": "ok",
"targets": {},
"test_runs": [],
"trust": "example",
"version": "1"
},
"mode": "example",
"name": "example-name",
"pending_capabilities": [
"example"
],
"ready": true,
"samples": 1
}
],
"linked": {},
"settings": {
"baa_confirmed_at": "2026-01-15T14:30:00Z",
"baa_confirmed_by": "example",
"gcp_project": "example",
"id": "example-id",
"location": "example",
"missing": [
"example"
],
"official_only": true,
"source": "example",
"verified_at": "2026-01-15T14:30:00Z"
}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/agents"Agents mine
GET /admin/v1/agents-mine
Needs the permission: config:history.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
agents | any | optional | - |
{
"agents": {}
}Other responses
401Authentication required403Not permitted404Not Found502Bad Gateway
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/agents-mine"Agent catalog
GET /admin/v1/agents/catalog
Needs the permission: config:history.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
publisher_kind | query | string | optional | - |
q | query | string | optional | - |
trust | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
agents | any | optional | - |
official_only | boolean | optional | - |
{
"agents": {},
"official_only": true
}Other responses
401Authentication required403Not permitted404Not Found502Bad Gateway
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/agents/catalog"Agent catalog detail
GET /admin/v1/agents/catalog/{id}
Needs the permission: config:history.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
version | query | string | optional | - |
Response 200
{}Other responses
401Authentication required403Not permitted404Not Found502Bad Gateway
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/agents/catalog/example-id"Agent uninstall
DELETE /admin/v1/agents/{id}
Needs the permission: agents:activate.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request DELETE \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/agents/example-id"Agent activate
POST /admin/v1/agents/{id}/activate
With customer SSO, requires a recent sign-in (re-authentication).
Needs the permission: agents:activate.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
reason | string | optional | - |
{
"reason": "Example text"
}Response 200
{}Other responses
401Authentication required403Not permitted404Not Found500Internal Server Error503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"reason":"Example text"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/agents/example-id/activate"Agent approve
POST /admin/v1/agents/{id}/approve
With customer SSO, requires a recent sign-in (re-authentication).
Needs the permission: agents:activate.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
beyond_parent | array of string | optional | BeyondParent (private remixes): the capabilities the remix adds beyond its parent, approved explicitly. |
capabilities | array of string | optional | - |
egress | array of object (AgentEgressApproval) | optional | - |
egress.[]allow_private | boolean | optional | AllowPrivate lets this host resolve to a private address (an on-premises system over the tenant's private connectivity). |
egress.[]approved | boolean | optional | - |
egress.[]attested_by | string | optional | - |
egress.[]baa_attested | boolean | optional | Attestation (required when the egress may carry PHI): the tenant has a BAA or another basis for the external party receiving PHI (a Customer-Provided Service under the MSA). |
egress.[]basis | string | optional | - |
egress.[]credential_file | string | optional | CredentialFile is the tenant's credential for the host, a file mounted from Secret Manager under the broker's agent secrets directory (never inline). |
egress.[]host | string | optional | - |
egress.[]id | string | optional | - |
reason | string | optional | - |
{
"beyond_parent": [
"example"
],
"capabilities": [
"example"
],
"egress": [
{
"allow_private": true,
"approved": true,
"attested_by": "example",
"baa_attested": true,
"basis": "example",
"credential_file": "example",
"host": "host.example.org",
"id": "example-id"
}
],
"reason": "Example text"
}Response 200
{}Other responses
401Authentication required403Not permitted404Not Found500Internal Server Error503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"beyond_parent":["example"],"capabilities":["example"],"egress":[{"allow_private":true,"approved":true,"attested_by":"example","baa_attested":true,"basis":"example","credential_file":"example","host":"host.example.org","id":"example-id"}],"reason":"Example text"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/agents/example-id/approve"Agent bindings
PUT /admin/v1/agents/{id}/bindings
Needs the permission: agents:activate.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
blocking | boolean | optional | - |
channels | map of string | optional | - |
critical_values | array of object (AgentCriticalValue) | optional | - |
critical_values.[]code | string | optional | Code and System: a LOINC code (system "LN") or a local code (system as sent in OBX-3.3, or "" for any). |
critical_values.[]high | number | optional | - |
critical_values.[]level | string | optional | - |
critical_values.[]low | number | optional | - |
critical_values.[]max_age | number | optional | - |
critical_values.[]min_age | number | optional | - |
critical_values.[]sex | string | optional | Sex "F" or "M" (PID-8; "" for any); age range in years (inclusive min, exclusive max; 0 for none). |
critical_values.[]system | string | optional | - |
critical_values.[]unit | string | optional | Unit as sent in OBX-6.1 (compared case-insensitively; "" accepts any). |
destinations | array of string | optional | - |
lookups | map of map of string | optional | - |
loop_due | map of map of string | optional | - |
notify | object (AgentNotifyPolicy) | optional | NotifyPolicy is the tenant's notification settings (install). |
notify.facility | string | optional | Facility prefixes every notification. |
notify.for | array of string | optional | For is the provider roles listed in a notification, in order (default ordering, referring, attending, consulting). |
policy | string | optional | - |
reason | string | optional | - |
routes | array of string | optional | - |
run_mode | string | optional | - |
targets | map of string | optional | - |
version | integer | optional | - |
{
"blocking": true,
"channels": {
"example": "example"
},
"critical_values": [
{
"code": "example",
"high": 1.5,
"level": "example",
"low": 1.5,
"max_age": 1.5,
"min_age": 1.5,
"sex": "example",
"system": "example",
"unit": "example"
}
],
"destinations": [
"example"
],
"lookups": {
"example": {
"example": "example"
}
},
"loop_due": {
"example": {
"example": "example"
}
},
"notify": {
"facility": "example",
"for": [
"example"
]
},
"policy": "example",
"reason": "Example text",
"routes": [
"example"
],
"run_mode": "example",
"targets": {
"example": "example"
},
"version": 1
}Response 200
{}Other responses
401Authentication required403Not permitted404Not Found500Internal Server Error503Unavailable (nothing was changed)
curl --request PUT \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"blocking":true,"channels":{"example":"example"},"critical_values":[{"code":"example","high":1.5,"level":"example","low":1.5,"max_age":1.5,"min_age":1.5,"sex":"example","system":"example","unit":"example"}],"destinations":["example"],"lookups":{"example":{"example":"example"}},"loop_due":{"example":{"example":"example"}},"notify":{"facility":"example","for":["example"]},"policy":"example","reason":"Example text","routes":["example"],"run_mode":"example","targets":{"example":"example"},"version":1}' \
"https://YOUR-CONSOLE-HOST/admin/v1/agents/example-id/bindings"Agent disable
POST /admin/v1/agents/{id}/disable
Needs the permission: agents:activate.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
{}Other responses
401Authentication required403Not permitted404Not Found500Internal Server Error503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/agents/example-id/disable"Agent install
POST /admin/v1/agents/{id}/install
Needs the permission: agents:activate.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
reason | string | optional | - |
version | string | optional | - |
{
"reason": "Example text",
"version": "1"
}Response 200
{}Other responses
401Authentication required403Not permitted404Not Found500Internal Server Error502Bad Gateway503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"reason":"Example text","version":"1"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/agents/example-id/install"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.