Skip to content

Resume a paused org agent

The agents.resume operation: POST /api/v1/agents/{id}/resume in the REST API and the agents_resume tool in the MCP server.

POST/api/v1/agents/{id}/resume

Resumes a paused agent: it can get access tokens again with its existing credentials. Resuming an active agent changes nothing; a revoked agent can't be resumed.

At a glance

  • REST: POST /api/v1/agents/{id}/resume
  • MCP tool: agents_resume
  • Operation ID: agents.resume
  • Scope: Organization
  • Permission: agents:admin
  • Risk tier: security
  • Dry run: Supported (send Ownrecord-Dry-Run: true)
  • Idempotency: Idempotency-Key required
  • Modes: Test and live
  • Authentication: API key with the agents:admin scope
  • Since: M10

Request

Path parameters

FieldTypeDescription
idagt_… ID

Body

This operation takes no body.

Response

200 OK with a JSON object:

FieldTypeDescription
idagt_… ID
object"agent"
orgIdorg_… ID
namestring
descriptionstring or null
contactstring or null
vendorstring or null
ownerTypeone of org, app
appInstallationIdains_… ID or null
roleone of org_admin, billing_admin, finance, tax_manager, support, developer, viewer
scopeobject
livemodeAccessboolean
limitsobject
limits.rpsinteger or null
limits.mutationsPerDayinteger or null
limits.amountLimitsarray of object
limits.amountLimits[].operationIdstring
limits.amountLimits[].perCallmoney or null
limits.amountLimits[].perDaymoney or null
toolSetsarray of string
statusone of active, paused, revoked
clientIdocl_… ID
authMethodone of client_secret_basic, client_secret_post, private_key_jwt
secretPrefixstring or null
dpopBoundAccessTokensboolean
scopesarray of one of 84 values, e.g. org:read, org:write, org:admin (all in the OpenAPI document)
createdBystring
createdAtstring
updatedAtstring
pausedAtstring or null
revokedAtstring or null

Examples

Resume an agent

HTTP
POST /api/v1/agents/agt_01m4ttwd3veh9apbewxheq5xh8/resume
Authorization: Bearer or_test_…
Idempotency-Key: 3f1c9a52-7d0e-4b8f-9a61-0c2d5e8b7f14

Response (200):

JSON
{
  "id": "agt_01m4ttwd3veh9apbewxheq5xh8",
  "object": "agent",
  "orgId": "org_01m4ttwd3veh9apbewxheq5xh3",
  "name": "Bookkeeper",
  "description": "Prepares and files the quarterly OSS return",
  "contact": "ops@acme.example",
  "vendor": "In-house, Claude via the MCP server",
  "ownerType": "org",
  "appInstallationId": null,
  "role": "finance",
  "scope": {
    "type": "org"
  },
  "livemodeAccess": false,
  "limits": {
    "rps": null,
    "mutationsPerDay": null,
    "amountLimits": [
      {
        "operationId": "refunds.create",
        "perCall": null,
        "perDay": {
          "amount": "200000000",
          "currency": "EUR"
        }
      }
    ]
  },
  "toolSets": [],
  "status": "active",
  "clientId": "ocl_01m4ttwd3veh9apbewxheq5xh9",
  "authMethod": "client_secret_basic",
  "secretPrefix": "or_cs_Exampl",
  "dpopBoundAccessTokens": false,
  "scopes": ["filings:read", "filings:write", "tasks:read", "tasks:write"],
  "createdBy": "usr_01m4ttwd3veh9apbewxheq5xh6",
  "createdAt": "2026-10-25T09:00:00.000Z",
  "updatedAt": "2026-10-26T14:30:00.000Z",
  "pausedAt": null,
  "revokedAt": null
}

Errors

CodeHTTP statusWhenWhat to do
agent_revoked409The agent is revoked.Create a new agent instead.
resource_not_found404No agent with this ID exists in the organization.Check the ID and that your credentials are scoped to the right organization, entity, brand and mode.
version_conflict409The agent changed at the same moment; retry.Fetch the object again and retry the change.
permission_denied403You can't manage agents.Ask an organization owner or admin for a role or scope that allows this action.

It can also return these common errors: validation_failed, api_version_unsupported, invalid_json, unsupported_media_type, authentication_required, api_key_invalid, idempotency_key_required, idempotency_key_reused, idempotency_in_progress, approval_required, approval_rejected, approval_expired, stale_approval, approval_policy_denied, rate_limited, internal_error.