> ## Documentation Index
> Fetch the complete documentation index at: https://docs.erstan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read live authoring tools

> Requires agents:read and stagedAuthoring. Catalogs are extensible live JSON. Catalog discovery is unavailable for team-restricted keys; this does not widen the credential.



## OpenAPI

````yaml /openapi/public-api.yaml get /v1/public/authoring/catalog/tools
openapi: 3.1.0
info:
  title: Erstan Public Agent API
  version: 1.4.0
  description: >-
    Start published Erstan agents from external systems and poll for results.
    API keys carry scopes (`agents:list`, `agents:read`, `agents:write`,
    `agents:run`, `runs:read`, `tasks:execute`, `documents:read`,
    `documents:write`, `files:read`, `files:write`). Agent access follows the
    key creator's current workspace and team permissions. Project and team
    allowlists (`allowedProjectIds`, `allowedTeamIds`) further restrict task and
    document and file access. Guarded Agent and Skill draft authoring is
    available under `/v1/public/authoring` when the workspace capability is
    enabled. The MCP server at `/v1/mcp` also exposes authoring and
    task/document/file tools.
servers:
  - url: https://api.erstan.com
    description: Public endpoint
security:
  - PublicApiKey: []
tags:
  - name: Authoring
    description: >-
      Capability-gated Agent and Skill drafts, history, validation and
      publication.
  - name: Agents
    description: >-
      Discover and run published agents available to the key creator under their
      current permissions.
  - name: Runs
    description: Read run status and results.
  - name: MCP
    description: >-
      Model Context Protocol server for external clients. Agent Builder tools
      use `agents:read`, `agents:write`, or both, plus the key creator's live
      Erstan permissions. Task and content tools also apply project/team
      allowlists.
paths:
  /v1/public/authoring/catalog/tools:
    get:
      tags:
        - Authoring
      summary: Read live authoring tools
      description: >-
        Requires agents:read and stagedAuthoring. Catalogs are extensible live
        JSON. Catalog discovery is unavailable for team-restricted keys; this
        does not widen the credential.
      operationId: getAuthoringTools
      parameters:
        - name: query
          in: query
          schema:
            type: string
        - name: source
          in: query
          schema:
            type: string
        - name: category
          in: query
          schema:
            type: string
        - name: teamId
          in: query
          schema:
            type: string
        - name: includeSchema
          in: query
          schema:
            type: boolean
        - name: cursor
          in: query
          schema:
            type: string
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
      responses:
        '200':
          description: Live catalog or guide.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        default:
          description: >-
            Public error envelope. Missing If-Match: 428; stale revision: 412;
            idempotency conflict, expired receipt or uncertain outcome: 409. Do
            not retry conflicts with new intent.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type: array
              items:
                $ref: '#/components/schemas/ErrorDetail'
            requestId:
              type: string
    ErrorDetail:
      type: object
      required:
        - code
        - message
      properties:
        field:
          type: string
        code:
          type: string
        message:
          type: string
  securitySchemes:
    PublicApiKey:
      type: http
      scheme: bearer
      bearerFormat: ers_live API key
      description: >-
        Workspace API key created in Erstan Settings. Keys carry scopes
        (`agents:list`, `agents:read`, `agents:write`, `agents:run`,
        `runs:read`, `tasks:execute`, `documents:read`, `documents:write`,
        `files:read`, `files:write`). Agent access follows the key creator's
        current workspace, team, and agent permissions. Agent draft creation
        requires `agents:write`; update, validation, and publishing require both
        `agents:read` and `agents:write`; draft testing also requires
        `agents:run`. Keys with `tasks:execute` must include at least one
        allowed project or team (`allowedProjectIds` / `allowedTeamIds`); keys
        with document or file scopes must include at least one allowed team.
        Empty allowlists mean no access — the API fails closed.

````