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

# Get Full Action Schemas

> Requires tools:read. Returns full authoritative input/output schemas and a local metadata ID. Preserves nested required/default/combinator semantics and exact numbers. Eligibility reflects reviewed supported completion/effect/file semantics; successful responses are not assumed to mean remote work completed. No provider credentials, auth responses or raw execution contracts are exposed.

Requires `tools:read` and an explicit dated `version` in `YYYYMMDD_NN` format; `latest` is not accepted. Returns a local metadata `id`, full authoritative `input_schema`/`output_schema`, scope requirements, and execution-policy eligibility. When the vendor changes only the raw bytes of an action's description, the action stays eligible; a change to its content is derived again, never carried over from an older review.

| Field | Meaning |
| - | - |
| `eligible` | This exact version has an execution policy. Every action gets one automatically from its own metadata, unless a person reviewed it or switched it off (either always wins). False actions cannot be saved as executable tools. |
| `effect` | `read` or `write`. A `read` is safe to repeat and may be refreshed automatically. A `write` runs at most once and is never retried automatically. Anything not clearly a read is a `write`. `null` when not eligible. |
| `policy_basis` | `automatic` when the policy was derived from the action's own metadata, `reviewed` when a person approved this exact content (a review replaces an automatic policy). `null` when not eligible. |
| `required_scopes.all_of` | Every listed scope is required. |
| `required_scopes.any_of` | At least one scope from each listed alternative group is required. |
| `fixed_fields` | Fields an owner may bind once when creating the tool. |
| `required_fixed_fields` | Fixed fields that must be supplied before saving. |

The schemas retain nested types, required fields, defaults, combinators and exact numbers. They are not CLI/model projections. Use the returned local metadata ID and an exact ready [connected account](https://docs.goyappr.com/api-reference/tool-connections/list.md) to create the app tool. Fixed fields are removed from its public input schema and cannot be overridden by model/test inputs.

Provider credentials, authentication responses and private raw execution contracts are not returned. Unsupported async/file semantics fail visibly; a generic success flag is not treated as proof that remote work completed.


## OpenAPI

````yaml GET /tool-apps/{slug}/actions/{action}
openapi: 3.1.0
info:
  title: Yappr API
  description: >
    Create and manage AI voice agents, purchase phone numbers, configure tools,
    and initiate calls — all via REST.
  version: 1.0.0
  contact:
    url: https://goyappr.com
servers:
  - url: https://api.goyappr.com
    description: Production
security:
  - apiKey: []
paths:
  /tool-apps/{slug}/actions/{action}:
    get:
      tags:
        - Tools
      summary: Get full dated action schemas
      description: >-
        Requires tools:read. Returns full authoritative input/output schemas and
        a local metadata ID. Preserves nested required/default/combinator
        semantics and exact numbers. Eligibility reflects reviewed supported
        completion/effect/file semantics; successful responses are not assumed
        to mean remote work completed. No provider credentials, auth responses
        or raw execution contracts are exposed.
      operationId: getToolAppAction
      parameters:
        - in: path
          name: slug
          required: true
          schema:
            type: string
        - in: path
          name: action
          required: true
          schema:
            type: string
            pattern: ^[A-Z0-9_]{1,200}$
        - in: query
          name: version
          required: true
          schema:
            type: string
            pattern: ^\d{8}_\d{2}$
      responses:
        '200':
          description: >-
            Complete bounded dated schemas, scope alternatives and reviewed
            fixed-field policy.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolActionDetail'
        '422':
          description: Missing/invalid dated version, malformed or unsupported metadata.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Catalog unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ToolActionDetail:
      allOf:
        - $ref: '#/components/schemas/ToolAction'
        - type: object
          required:
            - id
            - eligible
            - effect
            - policy_basis
            - input_schema
            - output_schema
            - required_scopes
            - fixed_fields
            - required_fixed_fields
          properties:
            id:
              type: string
              format: uuid
            eligible:
              type: boolean
              description: >-
                Whether the exact metadata version has an execution policy.
                Every action gets one automatically from its own metadata unless
                a person has reviewed it or switched it off; a reviewed or
                switched-off policy always wins. False actions cannot be saved
                as executable tools.
            effect:
              type: string
              nullable: true
              enum:
                - read
                - write
              description: >-
                The policy the action runs under. read - may be refreshed
                automatically, safe to repeat. write - runs at most once and is
                never retried automatically. Anything not clearly a read is a
                write. Null when not eligible.
            policy_basis:
              type: string
              nullable: true
              enum:
                - reviewed
                - automatic
              description: >-
                automatic - derived from the action's own metadata, because no
                person has reviewed it. reviewed - a person approved this exact
                content. A review replaces an automatic policy. Null when not
                eligible.
            input_schema:
              type: object
              additionalProperties: true
              description: >-
                Complete authoritative dated schema, not a CLI or model
                projection.
            output_schema:
              type: object
              additionalProperties: true
            required_scopes:
              type: object
              properties:
                all_of:
                  type: array
                  items:
                    type: string
                any_of:
                  type: array
                  items:
                    type: array
                    items:
                      type: string
                  description: At least one scope from each alternative group is required.
            fixed_fields:
              type: array
              items:
                type: string
            required_fixed_fields:
              type: array
              items:
                type: string
    Error:
      type: object
      required:
        - error
        - code
      description: >
        Every error response - the secret-key API and the browser data plane
        alike - carries a

        human-readable `error` and a stable machine `code`, and a refusal that
        names what is

        wrong with the request carries `issues[]` too. Branch on `code`, never
        on the `error`

        text. A refusal that names nothing more specific carries the code its
        status means:

        `BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the
        secret-key API

        answers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR`
        (402),

        `FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405),
        `CONFLICT` (409),

        `GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),

        `UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR`
        (500),

        `UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT`
        (504). Some

        refusals add members of their own beside these (a call request's
        `status`, a workflow's

        `current_version`); the operation says which.
      properties:
        error:
          type: string
          description: The refusal, in one sentence for a person. Its wording may change.
        code:
          type: string
          description: The stable code to branch on.
        issues:
          type: array
          description: >
            Each thing at fault, on a 400 or 422 that names them: every query
            parameter or body field, not just the first. `path` is the
            parameter's name or the field's location.
          items:
            type: object
            required:
              - code
              - message
            properties:
              code:
                type: string
                description: >-
                  query_param_unknown, query_param_repeated, query_param_blank,
                  query_param_invalid, field_unknown, field_required,
                  field_invalid, or the route's own word.
              path:
                type: string
              message:
                type: string
    ToolAction:
      type: object
      required:
        - slug
        - toolkit
        - version
        - name
        - description
      properties:
        slug:
          type: string
        toolkit:
          type: string
        version:
          type: string
          pattern: ^\d{8}_\d{2}$
        name:
          type: string
        description:
          type: string
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard
        under **Settings → API Keys**. No key is `401 MISSING_KEY`; a key that
        is not one of ours, or is revoked, is `401 INVALID_KEY`; an expired one
        is `401 EXPIRED_KEY`. A valid key without the scope an operation needs
        is `403 INSUFFICIENT_SCOPE` on every operation, and the message names
        the scope. Every response, a 401 included, carries X-RateLimit-Limit,
        X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a
        minute per API key. Every 429, whatever its code, carries Retry-After
        (whole seconds, never zero): the per-key budget's `RATE_LIMIT` asks for
        what is left of the minute, a route's daily cap (`RATE_LIMITED`) for the
        time until that cap resets. All four headers are listed in
        Access-Control-Expose-Headers, so a browser can read them. A path the
        API does not serve (an unknown sub-path, an id left empty) is `404
        ROUTE_NOT_FOUND`, and a method a served path does not take is `405
        METHOD_NOT_ALLOWED` with an `Allow` header; both are answered before any
        scope check, and nothing is read or changed. A trailing slash is ignored
        where it cannot be an id left empty (`POST /calls/` is `POST /calls`)
        and refused where it can (`GET /calls/`). A doubled slash inside a path
        is merged into one before the request reaches the API (`GET //calls` is
        `GET /calls`).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.