GEOCitation Agent Tasks API

The agent-tasks API from GEOCitation — 1 operation(s) for agent-tasks.

Operations 1

GET /v1/agent-tasks Journal des tâches de l'agent sur toutes les campagnes du compte (filtres… #

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/geocitation:geocitation-agent-tasks-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

geocitation-agent-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GEOCitation Agent Tasks API
  description: Citation Rank Intelligence — Content Gap & Market Audit API
  version: 0.1.0
tags:
- name: agent-tasks
paths:
  /v1/agent-tasks:
    get:
      tags:
      - agent-tasks
      summary: Journal des tâches de l'agent sur toutes les campagnes du compte (filtres…
      operationId: list_agent_tasks_v1_agent_tasks_get
      security:
      - HTTPBearer: []
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 25
          title: Page Size
      - name: days
        in: query
        required: false
        schema:
          type: integer
          maximum: 90
          minimum: 1
          description: Fenêtre en jours
          default: 30
          title: Days
        description: Fenêtre en jours
      - name: campaign_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Campaign Id
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - success
            - failed
            - running
            - unmeasured
            type: string
          - type: 'null'
          title: Status
      - name: engine
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Engine
      - name: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 100
          - type: 'null'
          description: 'Recherche : requête, identifiant, détail, campagne'
          title: Q
        description: 'Recherche : requête, identifiant, détail, campagne'
      - name: attention
        in: query
        required: false
        schema:
          type: boolean
          description: Seulement les tâches qui déclenchent une alerte (délai, échec, non mesurée)
          default: false
          title: Attention
        description: Seulement les tâches qui déclenchent une alerte (délai, échec, non mesurée)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentTasksResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TaskStats:
      properties:
        total:
          type: integer
          title: Total
          default: 0
        success:
          type: integer
          title: Success
          default: 0
        failed:
          type: integer
          title: Failed
          default: 0
        unmeasured:
          type: integer
          title: Unmeasured
          default: 0
        running:
          type: integer
          title: Running
          default: 0
        success_rate:
          anyOf:
          - type: number
          - type: 'null'
          title: Success Rate
        p50_ms:
          anyOf:
          - type: integer
          - type: 'null'
          title: P50 Ms
        p95_ms:
          anyOf:
          - type: integer
          - type: 'null'
          title: P95 Ms
      type: object
      title: TaskStats
    EngineHealth:
      properties:
        engine:
          type: string
          title: Engine
        total:
          type: integer
          title: Total
          default: 0
        success:
          type: integer
          title: Success
          default: 0
        failed:
          type: integer
          title: Failed
          default: 0
        unmeasured:
          type: integer
          title: Unmeasured
          default: 0
        running:
          type: integer
          title: Running
          default: 0
        success_rate:
          anyOf:
          - type: number
          - type: 'null'
          title: Success Rate
        avg_duration_ms:
          anyOf:
          - type: integer
          - type: 'null'
          title: Avg Duration Ms
      type: object
      required:
      - engine
      title: EngineHealth
    AgentTaskItem:
      properties:
        key:
          type: string
          title: Key
        short_id:
          type: string
          title: Short Id
        audit_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Audit Id
        campaign_id:
          type: string
          format: uuid
          title: Campaign Id
        campaign_name:
          type: string
          title: Campaign Name
        campaign_run_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Campaign Run Id
        fan_query_id:
          type: integer
          title: Fan Query Id
        query:
          type: string
          title: Query
        engine:
          anyOf:
          - type: string
          - type: 'null'
          title: Engine
        status:
          type: string
          enum:
          - success
          - failed
          - running
          - unmeasured
          title: Status
        issue:
          anyOf:
          - type: string
            enum:
            - timeout
            - failed
            - unavailable
            - not_run
            - analysis_failed
          - type: 'null'
          title: Issue
        detail:
          anyOf:
          - type: string
          - type: 'null'
          title: Detail
        at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: At
        completed_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Completed At
        duration_ms:
          anyOf:
          - type: integer
          - type: 'null'
          title: Duration Ms
        measure_duration_ms:
          anyOf:
          - type: integer
          - type: 'null'
          title: Measure Duration Ms
      type: object
      required:
      - key
      - short_id
      - campaign_id
      - campaign_name
      - fan_query_id
      - query
      - status
      title: AgentTaskItem
    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
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    AgentTasksResponse:
      properties:
        tasks:
          items:
            $ref: '#/components/schemas/AgentTaskItem'
          type: array
          title: Tasks
        total:
          type: integer
          title: Total
        page:
          type: integer
          title: Page
        page_size:
          type: integer
          title: Page Size
        pages:
          type: integer
          title: Pages
        days:
          type: integer
          title: Days
        truncated:
          type: boolean
          title: Truncated
          default: false
        stats:
          $ref: '#/components/schemas/TaskStats'
        engines:
          items:
            $ref: '#/components/schemas/EngineHealth'
          type: array
          title: Engines
        campaigns:
          items:
            $ref: '#/components/schemas/TaskCampaignOption'
          type: array
          title: Campaigns
        engine_options:
          items:
            type: string
          type: array
          title: Engine Options
      type: object
      required:
      - tasks
      - total
      - page
      - page_size
      - pages
      - days
      - stats
      title: AgentTasksResponse
    TaskCampaignOption:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
      type: object
      required:
      - id
      - name
      title: TaskCampaignOption
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-provenance:
  method: harvested
  publisher: GEOCitation
  source: https://api.geocitation.io/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)