TaskFuel Connection API

Pair the CLI with a user's account. The user must approve the code in a browser.

GitHub OpenAPI

Operations 2

POST /v1/connect/start Start a device-code connection #
GET /v1/connect/poll Poll a device-code connection #

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/taskfuel-ai:taskfuel-ai-connection-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

taskfuel-ai-connection-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: taskfuel Gateway Connection API
  version: v1
  summary: Discover and call paid HTTP-402 APIs through one prepaid account.
  description: The CLI and canonical taskfuel agent skill are the recommended interface. Install the CLI with `curl -fsSL https://taskfuel.ai/install.sh | sh`, run `taskfuel sync-skill`, then use `taskfuel connect`. The user must complete browser sign-in/approval and card top-ups themselves. Use this OpenAPI document for direct HTTP integrations.
servers:
- url: https://app.taskfuel.ai
security:
- bearerAuth: []
tags:
- name: Connection
  description: Pair the CLI with a user's account. The user must approve the code in a browser.
paths:
  /v1/connect/start:
    post:
      operationId: startConnection
      tags:
      - Connection
      summary: Start a device-code connection
      description: Returns a short-lived code and browser URL. Show both to the user and ask them to sign in and approve the connection. No API key is required.
      security: []
      responses:
        '200':
          description: Connection request created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectStart'
  /v1/connect/poll:
    get:
      operationId: pollConnection
      tags:
      - Connection
      summary: Poll a device-code connection
      description: Poll at the interval returned by /v1/connect/start. An approved API key is delivered once and the connection request is then deleted.
      security: []
      parameters:
      - name: code
        in: query
        required: true
        description: The code returned by /v1/connect/start.
        schema:
          type: string
          minLength: 1
      responses:
        '200':
          description: Connection pending or approved.
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/ConnectPending'
                - $ref: '#/components/schemas/ConnectApproved'
        '400':
          description: The code query parameter is missing.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: The code is unknown or expired.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectExpired'
components:
  schemas:
    ConnectExpired:
      type: object
      required:
      - status
      properties:
        status:
          const: expired
      additionalProperties: false
    ConnectPending:
      type: object
      required:
      - status
      properties:
        status:
          const: pending
      additionalProperties: false
    ConnectStart:
      type: object
      required:
      - code
      - verification_url
      - expires_in
      - poll_interval
      properties:
        code:
          type: string
          minLength: 8
          maxLength: 8
        verification_url:
          type: string
          format: uri
        expires_in:
          type: integer
          description: Lifetime in seconds.
        poll_interval:
          type: integer
          description: Recommended polling interval in seconds.
      additionalProperties: false
    ConnectApproved:
      type: object
      required:
      - status
      - key
      properties:
        status:
          const: approved
        key:
          type: string
          description: Single-delivery taskfuel API key. Store it securely and never display it to anyone else.
          pattern: ^sk-402-
      additionalProperties: false
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
        detail:
          type: string
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A taskfuel API key with the sk-402- prefix.
externalDocs:
  description: Agent setup, usage guide, and human handoffs
  url: https://app.taskfuel.ai/llms.txt