Agents

Run custom agent

Run a fully custom agent — you provide the system prompt, input/output schemas, and input data.

Use this when Explee's pre-built agents don't fit your use case. The agent will execute asynchronously; poll GET /agents/runs/{job_id} for results.

Cost: 1 credit per run.

post/public/api/v1/agents/runs

Request

  • Base URL: https://api.explee.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.explee.com/public/api/v1/agents/runs
  • Auth: APIKeyHeader (a scheme the document does not define)

Request body

system_promptstring required
input_schemaobject required
output_schemaobject required
input_dataobject required

Example request

{
  "system_prompt": "Find the CEO, founders, and directors of the company by domain.",
  "input_schema": {
    "properties": {
      "domain": {
        "type": "string"
      }
    },
    "required": [
      "domain"
    ],
    "type": "object"
  },
  "output_schema": {
    "properties": {
      "name": {
        "type": "string"
      }
    },
    "required": [
      "name"
    ],
    "type": "object"
  },
  "input_data": {
    "domain": "stripe.com"
  }
}

Response

Successful Response

run_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.