Skip to main content

Overview

This page summarizes connection details, endpoints, response formats, errors, and limits shared by the Developer Platform API. Retrieve tool-specific input schemas and current pricing with GET /tools.

Base URL and common headers

Append all paths to this base URL.
Authenticate with a Developer Platform API key. Include Content-Type when sending a JSON body.
Paid execution also requires this header.

Endpoints

These are the main public API endpoints. Filter GET /tools/executions with limit, before, status, and tool. limit accepts 1–100 and defaults to 20.

Tool catalog

The data from GET /tools includes the catalog-wide price version, currency, execution availability, and tool list. Each tool provides the following:
  • name — Tool name to use in the execution URL and request body
  • description and category — Purpose and classification
  • available — Whether required external services are configured and the tool is available
  • inputSchema and example — Input JSON Schema and example
  • models — Available models with per-model examples, availability, and pricing descriptions
  • price — Minimum charge, billing unit, and pricing description
available: true alone does not guarantee execution. Catalog-wide executionEnabled, key permissions, prepaid balance, and monthly caps also apply.

Response format

Successful responses generally place the result in data.
Errors include a status and message in error.
All responses use Cache-Control: no-store. Do not store API keys, results, or expiring URLs in shared caches.

Handle errors

Check the cause based on the returned status before retrying.

Usage limits

Account for these limits in your client. Request counts include catalog reads, quotes, uploads, executions, polling, and retries. Avoid unnecessarily frequent polling to prevent 429 responses.

Upload inputs

To use local images, audio, or video, send the MIME type and Base64 data to POST /tools/upload.
Success returns an id usable as fileId, format, size, SHA-256, and expiration. Pass it to tool-specific fields such as source in the format shown by the catalog. Identical content in the same project returns the same ID; retention does not extend beyond the original upload’s expiration. See these pages for authentication and execution.