Admiral Tasks API

The tasks API from Admiral — 3 operation(s) for tasks.

GitHub OpenAPI

Operations 5

POST /accounts/{account_id}/tasks Create #
GET /accounts/{account_id}/tasks List Tasks #
PATCH /tasks/{task_id} Toggle #
DELETE /tasks/{task_id} Delete #
POST /tasks/{task_id}/leave Leave #

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-tasks-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-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Admiral Tasks API
  version: 0.1.0
tags:
- name: Tasks
paths:
  /accounts/{account_id}/tasks:
    post:
      tags:
      - Tasks
      summary: Create
      operationId: create_accounts__account_id__tasks_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/TaskBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Tasks
      summary: List Tasks
      operationId: list_tasks_accounts__account_id__tasks_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'
  /tasks/{task_id}:
    patch:
      tags:
      - Tasks
      summary: Toggle
      operationId: toggle_tasks__task_id__patch
      parameters:
      - name: task_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Task Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TogglePatch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Tasks
      summary: Delete
      operationId: delete_tasks__task_id__delete
      parameters:
      - name: task_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Task Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /tasks/{task_id}/leave:
    post:
      tags:
      - Tasks
      summary: Leave
      description: 'Stop a report coming to me, and only to me (Settings › Notifications).

        Pausing flips the report for every recipient; a shared report''s other

        readers keep getting it (Greptile on #248). The last recipient leaving

        leaves nobody to send to, so the report pauses, saying why.'
      operationId: leave_tasks__task_id__leave_post
      parameters:
      - name: task_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Task Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TaskBody:
      properties:
        kind:
          type: string
          pattern: ^(leak_digest|weekly_report|pacing|monthly_report)$
          title: Kind
        cadence:
          type: string
          pattern: ^(weekly|monthly)$
          title: Cadence
          default: weekly
        day:
          type: integer
          maximum: 28.0
          minimum: 0.0
          title: Day
          default: 0
        hour_utc:
          type: integer
          maximum: 23.0
          minimum: 0.0
          title: Hour Utc
          default: 3
        recipients:
          items:
            type: string
          type: array
          maxItems: 5
          minItems: 1
          title: Recipients
      type: object
      required:
      - kind
      - recipients
      title: TaskBody
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TogglePatch:
      properties:
        enabled:
          type: boolean
          title: Enabled
      type: object
      required:
      - enabled
      title: TogglePatch