> ## 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.

# Discover Versioned Actions

> Requires tools:read. Each item carries the resolved dated version; omitting version resolves the app's current metadata version. Use that exact version for action detail and materialization.

Requires `tools:read`. Supply a dated `version` from app detail. The `{slug}`
in the path is the same one [app detail](https://docs.goyappr.com/api-reference/tools/app.md) takes —
lowercase letters, digits and underscores only, exactly as discovery returned
it (`googlecalendar`, not `google-calendar`). Omitting it resolves the app's current metadata version; each returned action includes that resolved version. Use the exact returned version for subsequent action detail and tool creation.

```bash theme={null}
curl "https://api.goyappr.com/tool-apps/APP_SLUG/actions?version=DATED_VERSION" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

Pages return `data` and `next_cursor`. Keep the same workspace, app and requested version while paginating. Listing actions grants no execution authority.

## Finding one action by name

An app can publish hundreds of actions, and the one you need is rarely on the
first page. Add `search` — one line of 1-100 characters — and the catalogue
filters by action name, slug and description itself, answering up to 50
matches in one page, best match first: the search in the action's name, then
every word in its name or slug, then its description. A few words people search
by that action names do not use are searched as what they stand for, so
`availability` finds Find free slots as well as Query Calendar Availability,
and `availability` and `available` each find the actions named for the other.
The catalogue's own other matches, which can match on meaning rather than
wording, come after those, in the catalogue's order:

```bash theme={null}
curl "https://api.goyappr.com/tool-apps/googlecalendar/actions?version=20260915_00&search=free%20slots" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```json theme={null}
{
  "data": [{ "slug": "GOOGLECALENDAR_FIND_FREE_SLOTS", "name": "Find free slots", "description": "…", "toolkit": "googlecalendar", "version": "20260915_00" }],
  "next_cursor": null,
  "search": "free slots"
}
```

`search` in the answer repeats the trimmed search the page was filtered by;
a page without it was not filtered. Action names are English. A `next_cursor`
from a search continues that search only. A `search` that is empty, over 100
characters or spans lines answers `422 WORKFLOW_CATALOG_SEARCH_INVALID`, and
`search` on an app's detail or one action is `422 WORKFLOW_CATALOG_REQUEST_INVALID`.
The [app list](https://docs.goyappr.com/api-reference/tools/apps.md) takes `search` too.


## OpenAPI

````yaml GET /tool-apps/{slug}/actions
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:
    get:
      tags:
        - Tools
      summary: Discover versioned actions
      description: >-
        Requires tools:read. Each item carries the resolved dated version;
        omitting version resolves the app's current metadata version. Use that
        exact version for action detail and materialization.
      operationId: listToolAppActions
      parameters:
        - in: path
          name: slug
          required: true
          schema:
            type: string
        - in: query
          name: version
          schema:
            type: string
            pattern: ^\d{8}_\d{2}$
        - in: query
          name: cursor
          schema:
            type: string
          description: >-
            Opaque continuation bound to workspace, environment, path, requested
            version and search.
        - in: query
          name: search
          schema:
            type: string
            minLength: 1
            maxLength: 100
          description: >-
            Part of an action's name, slug or description, for example "free
            slots". The catalogue filters itself and answers up to 50 matches
            per page, best match first - the name, then the slug, then the
            description; "availability" also finds free/busy actions, and
            "availability" and "available" each find the other's. The
            catalogue's own other matches, which can match on meaning, follow in
            its order. Action names are English.
      responses:
        '200':
          description: Dated action metadata page.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ToolAction'
                  next_cursor:
                    type:
                      - string
                      - 'null'
                  search:
                    type: string
                    description: >-
                      The trimmed search this page was filtered by. Absent when
                      the page is not filtered.
        '422':
          description: >-
            Invalid version or cursor, or WORKFLOW_CATALOG_SEARCH_INVALID - a
            search that is empty, over 100 characters or spans lines.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Metadata unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    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
    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
  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.