Agents

Ask for a change to an agent

Changed on

Use this when a person who cannot change the agent asks for a change to what it does or how often it runs.

post/v1/personal-agents/{id}/requests

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

id, string required

Request body

CreatePersonalAgentChangeRequest required
summary, string required

The change in one plain sentence, as the person asked for it.

change, PersonalAgentChange required

Response

Change requested.

PersonalAgentRequest required
id, string required
agentId, string required
kind, 'tool' | 'change' required
status, 'pending' | 'awaiting_owner' | 'denied' | 'allowed_once' | 'always_allowed' | 'approved' | 'used' required
requestedBy, PersonalAgentPerson required
requestedByCaller, boolean

True when the caller is the person the request is for.

runId, string nullable required
connectionId, string nullable required
connectionName, string nullable required
toolName, string nullable required
toolTitle, string nullable required
summary, string nullable required
change, PersonalAgentChange nullable required
decidedBy, PersonalAgentPerson nullable required
decidedAt, string date-time nullable required
createdAt, string date-time required
connectorAccess, true
canDecide, string[] required

The decisions the caller may make on this request; empty when it is not theirs to decide or already decided.

Changes

    • warning

      added the new awaiting_owner enum value to the status response property for the response status

    • warning

      added the new turn_on enum value to the canDecide/items response property for the response status

    • info

      added the optional property connectorAccess to the response with the status