TextQL Textql.rpc.platform.Agent Service API

Platform Agent Service - External API for triggering agent webhooks

Operations 1

POST /v1/agents/webhook/trigger TriggerAgentWebhook #

Documentation

Specifications

Other Resources

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/textql-textql-rpc-platform-agentservice-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

textql-textql-rpc-platform-agentservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Textql.rpc.platform.Agent Service API
  version: '1.0'
  description: Platform Agent Service - External API for triggering agent webhooks
security: []
tags:
- name: textql.rpc.platform.AgentService
  description: Platform Agent Service - External API for triggering agent webhooks
paths:
  /v1/agents/webhook/trigger:
    post:
      tags:
      - textql.rpc.platform.AgentService
      summary: TriggerAgentWebhook
      description: Trigger an agent run with a JSON webhook payload
      operationId: textql.rpc.platform.AgentService.TriggerAgentWebhook
      parameters:
      - name: Connect-Protocol-Version
        in: header
        required: true
        schema:
          $ref: '#/components/schemas/connect-protocol-version'
      - name: Connect-Timeout-Ms
        in: header
        schema:
          $ref: '#/components/schemas/connect-timeout-header'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/textql.rpc.platform.TriggerAgentWebhookRequest'
            examples:
              example:
                value:
                  triggerId: 00000000-0000-0000-0000-000000000000
                  payload:
                    event: example.event
                    source: manual-test
        required: true
      responses:
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/textql.rpc.platform.TriggerAgentWebhookResponse'
components:
  schemas:
    connect-timeout-header:
      type: number
      title: Connect-Timeout-Ms
      description: Define the timeout, in ms
    textql.rpc.platform.TriggerAgentWebhookResponse:
      type: object
      properties:
        status:
          type: string
          title: status
          description: Queue status for the agent run.
          examples:
          - queued
      title: TriggerAgentWebhookResponse
      additionalProperties: false
    connect.error:
      type: object
      properties:
        code:
          type: string
          examples:
          - invalid_argument
          enum:
          - canceled
          - unknown
          - invalid_argument
          - deadline_exceeded
          - not_found
          - already_exists
          - permission_denied
          - resource_exhausted
          - failed_precondition
          - aborted
          - out_of_range
          - unimplemented
          - internal
          - unavailable
          - data_loss
          - unauthenticated
          description: The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
        message:
          type: string
          description: A developer-facing error message, which should be in English.
        details:
          type: array
          items:
            $ref: '#/components/schemas/connect.error_details.Any'
          description: A list of messages that carry the error details.
      title: Connect Error
      additionalProperties: true
      description: 'Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation'
    connect-protocol-version:
      type: number
      title: Connect-Protocol-Version
      enum:
      - 1
      description: Define the version of the Connect protocol
      const: 1
    connect.error_details.Any:
      type: object
      properties:
        type:
          type: string
          description: A URL that acts as a globally unique identifier for the type of the serialized message.
        value:
          type: string
          contentEncoding: base64
          contentMediaType: application/octet-stream
          description: The Protobuf message, serialized as bytes and base64-encoded.
        debug:
          oneOf:
          - type: object
            additionalProperties: true
          - type: array
            items: {}
          - type: string
          - type: number
          - type: boolean
          - type: 'null'
          description: Deserialized error detail value when available.
      additionalProperties: true
      description: Contains an arbitrary serialized message along with a URL that describes the type of the serialized message.
    textql.rpc.platform.TriggerAgentWebhookRequest:
      type: object
      properties:
        triggerId:
          type: string
          title: trigger_id
          format: uuid
          description: The webhook trigger ID for the agent.
        payload:
          type: object
          title: payload
          description: JSON payload to pass to the agent as run context. Limited to 16KB after JSON serialization.
          additionalProperties: true
      title: TriggerAgentWebhookRequest
      additionalProperties: false
      required:
      - triggerId