Cotal Interactive Lifecycle API

The Interactive Lifecycle API from Cotal — 1 operation(s) for interactive lifecycle.

GitHub OpenAPI

Operations 1

POST /interactive-lifecycle/retire Retire an interactive lifecycle #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cotal-ai:cotal-ai-interactive-lifecycle-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cotal-ai-interactive-lifecycle-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cotal Ai Interactive Lifecycle API
  version: '1'
  license:
    name: Apache-2.0
  description: 'Operations tagged Interactive Lifecycle across 2 of this provider''s published API definitions: cotal-ai-auth-host-openapi.json, cotal-ai-auth-host-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://127.0.0.1:{port}
  description: The owner-private auth-service discovery record supplies the actual loopback port.
  variables:
    port:
      default: '12345'
      description: Example only. Replace with the port announced by the running service or its owner-private discovery record.
security:
- HostCapability: []
tags:
- name: Interactive Lifecycle
paths:
  /interactive-lifecycle/retire:
    post:
      operationId: auth-host-retire-interactive
      summary: Retire an interactive lifecycle
      description: Retire one exact interactive actor lifecycle before rotating or deleting its grant. Unknown actors return 404 and a mismatched current lifecycle returns 409. Refusals before the retirement barrier begins carry outcome not-executed. A later failure without an outcome must be treated as unknown.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LifecycleTarget'
      responses:
        '200':
          description: The host decision completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Retirement'
        '400':
          description: Malformed JSON or invalid request fields.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid loopback capability.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: An Origin header or failed authority/proof check is refused.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: The actor is not granted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '405':
          description: Only POST is accepted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: The requested lifecycle is not current.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Request exceeds the 65536-byte body limit.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Content-Type must be application/json.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Invalid-capability attempts exceeded the rolling-minute limit.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        default:
          description: A native refusal uses its HTTP status and may include code and outcome. Unexpected failures use the handler error classification.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Interactive Lifecycle
    servers:
    - url: http://127.0.0.1:{port}
      description: The owner-private auth-service discovery record supplies the actual loopback port.
      variables:
        port:
          default: '12345'
          description: Example only. Replace with the port announced by the running service or its owner-private discovery record.
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        outcome:
          type: string
          enum:
          - not-executed
          - executed
          - unknown
        details: {}
      required:
      - error
    Retirement:
      type: object
      properties:
        retired:
          type: boolean
        lifecycleUid:
          type: string
          pattern: ^[a-z0-9]{26,32}$
        notStarted:
          type: boolean
        alreadyRetired:
          type: boolean
      required:
      - retired
      - lifecycleUid
    LifecycleTarget:
      type: object
      properties:
        owner:
          type: string
          pattern: ^u_[a-z2-7]{26}$
        actor:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          minLength: 1
        lifecycleUid:
          type: string
          pattern: ^[a-z0-9]{26,32}$
      required:
      - owner
      - actor
      - lifecycleUid
      additionalProperties: false
  securitySchemes:
    HostCapability:
      type: http
      scheme: bearer
      description: Exact exchange capability from the owner-private auth-service discovery record. This is not an IdP JWT or actor bearer.
x-refined-from:
- cotal-ai-auth-host-openapi.json
- cotal-ai-auth-host-openapi.yml
x-source: implementations/auth/src/service.ts ROUTES and loopback handlers