actionbox-cloud Sources API

The sources API from actionbox-cloud — 5 operation(s) for sources.

Operations 9

GET /v1/sources/{source_id}/approval-policy Source Approval Policy Endpoint #
PUT /v1/sources/{source_id}/approval-policy Set Source Approval Policy Endpoint #
GET /v1/sources Sources Endpoint #
POST /v1/sources Create Source Endpoint #
GET /v1/sources/{source_id} Source Detail Endpoint #
PATCH /v1/sources/{source_id} Update Source Endpoint #
DELETE /v1/sources/{source_id} Delete Source Endpoint #
POST /v1/sources/{source_id}/keys/rotate Rotate Source Key Endpoint #
POST /v1/sources/{source_id}/webhook-secret/rotate Rotate Webhook Secret Endpoint #

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/actionbox-cloud:actionbox-cloud-sources-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

actionbox-cloud-sources-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Actionbox Sources API
  description: Durable human decisions for software that cannot wait at the terminal.
  version: 0.2.1
servers:
- url: https://api.actionbox.cloud
tags:
- name: Sources
paths:
  /v1/sources/{source_id}/approval-policy:
    get:
      tags:
      - Sources
      summary: Source Approval Policy Endpoint
      operationId: source_approval_policy_endpoint_v1_sources__source_id__approval_policy_get
      parameters:
      - name: source_id
        in: path
        required: true
        schema:
          type: string
          title: Source Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-Actionbox-Client
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Actionbox-Client
      - name: actionbox_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Actionbox Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Source Approval Policy Endpoint V1 Sources  Source Id  Approval Policy Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - UserBearer: []
      - SessionCookie: []
    put:
      tags:
      - Sources
      summary: Set Source Approval Policy Endpoint
      operationId: set_source_approval_policy_endpoint_v1_sources__source_id__approval_policy_put
      parameters:
      - name: source_id
        in: path
        required: true
        schema:
          type: string
          title: Source Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-Actionbox-Client
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Actionbox-Client
      - name: actionbox_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Actionbox Session
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourcePolicyBindingSet'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Set Source Approval Policy Endpoint V1 Sources  Source Id  Approval Policy Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - UserBearer: []
      - SessionCookie: []
  /v1/sources:
    get:
      tags:
      - Sources
      summary: Sources Endpoint
      operationId: sources_endpoint_v1_sources_get
      parameters:
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-Actionbox-Client
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Actionbox-Client
      - name: actionbox_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Actionbox Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Sources Endpoint V1 Sources Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - UserBearer: []
      - SessionCookie: []
    post:
      tags:
      - Sources
      summary: Create Source Endpoint
      operationId: create_source_endpoint_v1_sources_post
      parameters:
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-Actionbox-Client
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Actionbox-Client
      - name: actionbox_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Actionbox Session
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Create Source Endpoint V1 Sources Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - UserBearer: []
      - SessionCookie: []
  /v1/sources/{source_id}:
    get:
      tags:
      - Sources
      summary: Source Detail Endpoint
      operationId: source_detail_endpoint_v1_sources__source_id__get
      parameters:
      - name: source_id
        in: path
        required: true
        schema:
          type: string
          title: Source Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-Actionbox-Client
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Actionbox-Client
      - name: actionbox_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Actionbox Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Source Detail Endpoint V1 Sources  Source Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - UserBearer: []
      - SessionCookie: []
    patch:
      tags:
      - Sources
      summary: Update Source Endpoint
      operationId: update_source_endpoint_v1_sources__source_id__patch
      parameters:
      - name: source_id
        in: path
        required: true
        schema:
          type: string
          title: Source Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-Actionbox-Client
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Actionbox-Client
      - name: actionbox_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Actionbox Session
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Update Source Endpoint V1 Sources  Source Id  Patch
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - UserBearer: []
      - SessionCookie: []
    delete:
      tags:
      - Sources
      summary: Delete Source Endpoint
      description: Revoke a Source while preserving its Actions and audit history.
      operationId: delete_source_endpoint_v1_sources__source_id__delete
      parameters:
      - name: source_id
        in: path
        required: true
        schema:
          type: string
          title: Source Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-Actionbox-Client
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Actionbox-Client
      - name: actionbox_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Actionbox Session
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - UserBearer: []
      - SessionCookie: []
  /v1/sources/{source_id}/keys/rotate:
    post:
      tags:
      - Sources
      summary: Rotate Source Key Endpoint
      operationId: rotate_source_key_endpoint_v1_sources__source_id__keys_rotate_post
      parameters:
      - name: source_id
        in: path
        required: true
        schema:
          type: string
          title: Source Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-Actionbox-Client
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Actionbox-Client
      - name: actionbox_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Actionbox Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Rotate Source Key Endpoint V1 Sources  Source Id  Keys Rotate Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - UserBearer: []
      - SessionCookie: []
  /v1/sources/{source_id}/webhook-secret/rotate:
    post:
      tags:
      - Sources
      summary: Rotate Webhook Secret Endpoint
      description: Rotate a Source callback secret; the raw secret is returned once.
      operationId: rotate_webhook_secret_endpoint_v1_sources__source_id__webhook_secret_rotate_post
      parameters:
      - name: source_id
        in: path
        required: true
        schema:
          type: string
          title: Source Id
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-Actionbox-Client
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Actionbox-Client
      - name: actionbox_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Actionbox Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Rotate Webhook Secret Endpoint V1 Sources  Source Id  Webhook Secret Rotate Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - UserBearer: []
      - SessionCookie: []
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    Priority:
      type: string
      enum:
      - low
      - normal
      - high
      - urgent
      title: Priority
    SourceUpdate:
      properties:
        chat_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Chat Enabled
        name:
          anyOf:
          - type: string
            maxLength: 120
            minLength: 1
          - type: 'null'
          title: Name
        default_priority:
          anyOf:
          - $ref: '#/components/schemas/Priority'
          - type: 'null'
      type: object
      title: SourceUpdate
    SourceCreate:
      properties:
        chat_enabled:
          type: boolean
          title: Chat Enabled
          default: true
        name:
          type: string
          maxLength: 120
          minLength: 1
          title: Name
        default_priority:
          $ref: '#/components/schemas/Priority'
          default: normal
      type: object
      required:
      - name
      title: SourceCreate
    SourcePolicyBindingSet:
      properties:
        expected_version:
          type: integer
          minimum: 0.0
          title: Expected Version
        policy_id:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: Policy Id
      type: object
      required:
      - expected_version
      title: SourcePolicyBindingSet
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    SourceBearer:
      type: http
      scheme: bearer
      description: Source API key (`axb_live_…`).
    UserBearer:
      type: http
      scheme: bearer
      description: User session bearer token.
    SessionCookie:
      type: apiKey
      in: cookie
      name: actionbox_session