OpenSocialDocumentation

agents_list

Inspect delegated grants, allowed accounts and expiry.

REST · POST /api/v1/operations/agents_list · MCP · agents_list

Required scope · admin. This operation reads data.

Example request body

{}

REST returns the output below directly. In MCP read structuredContent.result. Check the current installation at /api/v1/openapi.json.

For 401 check credential validity. For 403 inspect the role, scopes and selected accounts. For 409 reread the record before retrying.

JSON Schema · Input

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

JSON Schema · Output

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "scopes": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "accounts": {
        "anyOf": [
          {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          {
            "type": "null"
          }
        ]
      },
      "expires_at": {
        "type": [
          "string",
          "null"
        ]
      },
      "revoked": {
        "type": "boolean"
      }
    },
    "required": [
      "id",
      "name",
      "scopes",
      "accounts",
      "expires_at",
      "revoked"
    ],
    "additionalProperties": {}
  }
}