Skip to content
Navigation

List the org agent directory

Lists the paperwork agents this organization owns, one keyset page at a time, newest-updated first. Authorization: any authenticated org member (session + tenant context only, no admin required). Optional query status is one of all | published | draft (default all); any other value is ignored and the default applies. Optional includeArchived=true adds archived agents. A private agent is listed only for its owner; it is absent from every other member's directory. Paging: limit is 1-200 (default 100), and cursor takes the previous response's nextCursor — an opaque string the caller never parses; an out-of-range or non-numeric limit falls back to the default instead of failing. Response is { data: Agent[], nextCursor } and nextCursor is null on the last page. Each Agent carries its id, handle, name, role, avatar, visibility, publishedVersionId (the agv_ id runs are started with), draftVersionId and sourcePlaybookId.

GET
https://api.cloudraker.com/agents
Try it
Query parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Query parameters

  • status
    optional
    all
    or
    published
    or
    draft

    Filter by lifecycle state.

    default: "all"
  • includeArchived
    optional
    true
    or
    false

    Include archived agents.

    default: "false"
  • limit
    optional
    integer

    Agents per page.

    maximum: 200 · minimum: 1 · default: 100
  • cursor
    optional
    string

    The previous page's nextCursor.

Returns

200

One page of org agents.

JSON
  • data
    array of
    object
    required
    • id
      string
      required
    • handle
      string
      required

      Unique per org, derived from the name when not given (mike, mike-2, …).

    • name
      string
      required
    • role
      string
      required
    • avatar
      object
      required
      • kind
        initials
        or
        generated
        required
      • color
        optional
        string
        pattern: ^#[0-9a-fA-F]{6}$
    • visibility
      org
      or
      private
      required
    • ownerUserId
      string
      required
    • publishedVersionId
      string | null
      required

      The agv_ id a run is started with. Null until the agent is published.

    • draftVersionId
      string
      required
    • emailTriggerId
      string | null
      required
    • sourcePlaybookId
      string | null
      required

      Set on agents created by the playbook migration; null otherwise.

    • createdAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • updatedAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • createdBy
      string
      required
    • archivedAt
      required

      Any of the following:

      • string
      • null
    • documentAgent
      optional
      boolean
  • nextCursor
    string | null
    required

    Pass back as cursor for the next page — opaque, never parsed. Null on the last page.

Type to search…

↑↓ navigate↵ selectEsc close