Admiral Automation API

The automation API from Admiral — 5 operation(s) for automation.

GitHub OpenAPI

Operations 5

GET /accounts/{account_id}/automation Get Automation #
PATCH /accounts/{account_id}/automation/rules/{rule_id} Patch Rule #
POST /accounts/{account_id}/automation/posture Set Posture #
PATCH /accounts/{account_id}/automation/guardrails Patch Guardrails #
POST /accounts/{account_id}/automation/agent-runs Manual Run #

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/meetadmiral-com:meetadmiral-com-automation-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

meetadmiral-com-automation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Admiral Automation API
  version: 0.1.0
tags:
- name: Automation
paths:
  /accounts/{account_id}/automation:
    get:
      tags:
      - Automation
      summary: Get Automation
      operationId: get_automation_accounts__account_id__automation_get
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Account Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /accounts/{account_id}/automation/rules/{rule_id}:
    patch:
      tags:
      - Automation
      summary: Patch Rule
      operationId: patch_rule_accounts__account_id__automation_rules__rule_id__patch
      parameters:
      - name: rule_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Rule Id
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Account Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RulePatch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /accounts/{account_id}/automation/posture:
    post:
      tags:
      - Automation
      summary: Set Posture
      description: 'How much Admiral may do without asking — every rule, in one write.


        The page used to send one PATCH per rule. A failure half-way left the

        earlier rules changed and the page showing the old posture; on a Meta

        account, which has no rule that may act alone, "handle the safe stuff"

        reported success and changed nothing; and "ask me everything" left rules

        that were off, off, while promising every rule would ask. One request,

        one transaction, and the whole posture:


        ask every rule on, every rule asks

        safe the rules that can only ever stop money act alone; every other

        rule is on and asks — refused where no rule can act alone'
      operationId: set_posture_accounts__account_id__automation_posture_post
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Account Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostureBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /accounts/{account_id}/automation/guardrails:
    patch:
      tags:
      - Automation
      summary: Patch Guardrails
      operationId: patch_guardrails_accounts__account_id__automation_guardrails_patch
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Account Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GuardrailsPatch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /accounts/{account_id}/automation/agent-runs:
    post:
      tags:
      - Automation
      summary: Manual Run
      operationId: manual_run_accounts__account_id__automation_agent_runs_post
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Account Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManualRunRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GuardrailsPatch:
      properties:
        max_auto_actions_per_day:
          anyOf:
          - type: integer
            minimum: 1.0
          - type: 'null'
          title: Max Auto Actions Per Day
        quiet_mode:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Quiet Mode
      type: object
      title: GuardrailsPatch
    PostureBody:
      properties:
        posture:
          type: string
          pattern: ^(ask|safe)$
          title: Posture
      type: object
      required:
      - posture
      title: PostureBody
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
    RulePatch:
      properties:
        params:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Params
        mode:
          anyOf:
          - type: string
            pattern: ^(propose|auto)$
          - type: 'null'
          title: Mode
        enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Enabled
      type: object
      title: RulePatch
    ManualRunRequest:
      properties:
        focus:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Focus
      type: object
      title: ManualRunRequest