Skip to content
API reference

Agents

Create, search, run, and manage the agents that execute your sports workflows.

This reference covers a selected set of supported Agent operations. Additional platform capabilities may not be available through the public API.

Create Agent

Create a new agent and define its configurations.

Authorizations

ApiToken

API key authentication

Type
API Key (header: x-api-token)

Request Body

application/json

Unique identifier for the agent

Display title of the agent

Detailed description of the agent's purpose

Configuration settings for the agent

Array of workflow definitions

Current status of the agent

Valid values"active""inactive"
Default"active"

Responses

Agent created successfully

application/json

Operation status

Request builder
POST/agent
Interactive

Playground

Authorization
Body
Code samples

Use the configured request in your preferred language.

Execute Agent by ID

Execute an agent using its unique identifier.

Authorizations

ApiToken

API key authentication

Type
API Key (header: x-api-token)

Parameters

Path Parameters

id*

Unique ID of the agent to execute

Type
string
Required

Request Body

application/json

Configuration options for the execution

Input parameters for the agent execution

Additional context data for the agent execution

Responses

Agent execution result or status

application/json

Unique identifier for the execution

Status of the execution

Valid values"scheduled""completed""failed"

Informational message about the execution

The result of the agent execution (if immediate)

Request builder
POST/agent/executor/id/{id}
Interactive

Playground

Authorization
Variables
Key
Value
Body
Code samples

Use the configured request in your preferred language.

Execute Agent by Name

Execute an agent using its unique name

Authorizations

ApiToken

API key authentication

Type
API Key (header: x-api-token)

Parameters

Path Parameters

name*

Unique name of the agent to execute

Type
string
Required

Request Body

application/json

Configuration options for the execution

Input parameters for the agent execution

Additional context data for the agent execution

Responses

Agent execution result or status

application/json

Unique identifier for the execution

Status of the execution

Valid values"scheduled""completed""failed"

Informational message about the execution

The result of the agent execution (if immediate)

Request builder
POST/agent/executor/{name}
Interactive

Playground

Authorization
Variables
Key
Value
Body
Code samples

Use the configured request in your preferred language.

Delete Agent

Delete an agent by its ID.

Authorizations

ApiToken

API key authentication

Type
API Key (header: x-api-token)

Parameters

Path Parameters

id*

Unique ID of the agent to delete

Type
string
Required

Responses

Agent deleted successfully

application/json

Success message

Operation status

Request builder
DELETE/agent/{id}
Interactive

Playground

Authorization
Variables
Key
Value
Code samples

Use the configured request in your preferred language.

Update Agent

Update an existing agent by its ID.

Authorizations

ApiToken

API key authentication

Type
API Key (header: x-api-token)

Parameters

Path Parameters

id*

Unique ID of the agent to update

Type
string
Required

Request Body

application/json

Updated display title of the agent

Updated description of the agent's purpose

Updated status of the agent

Valid values"active""inactive"

Updated configuration settings for the agent

Updated list of workflows associated with the agent

Responses

Agent updated successfully

application/json

Success message

Operation status

Request builder
PUT/agent/{id}
Interactive

Playground

Authorization
Variables
Key
Value
Body
Code samples

Use the configured request in your preferred language.

Get Agent by ID

Retrieve an agent by its unique ID.

Authorizations

ApiToken

API key authentication

Type
API Key (header: x-api-token)

Parameters

Path Parameters

id*

Unique ID of the agent

Type
string
Required

Responses

Agent details

application/json

Operation status

Request builder
GET/agent/id/{id}
Interactive

Playground

Authorization
Variables
Key
Value
Code samples

Use the configured request in your preferred language.

Search Agents

Search for an agent using sort, filter and pagination.

Authorizations

ApiToken

API key authentication

Type
API Key (header: x-api-token)

Request Body

application/json

Query filters object

Default{}

Array containing field name and sort direction

Default"_id"-1

Page number (starts from 1)

Default1

Number of items per page

Default10

Responses

Successful operation

application/json

Operation status

Total number of documents matching the query

Request builder
POST/agent/search
Interactive

Playground

Authorization
Body
Code samples

Use the configured request in your preferred language.

Get Agent by Name

Retrieve an agent by its unique name.

Authorizations

ApiToken

API key authentication

Type
API Key (header: x-api-token)

Parameters

Path Parameters

name*

Unique name of the agent

Type
string
Required

Responses

Agent details

application/json

Operation status

Request builder
GET/agent/{name}
Interactive

Playground

Authorization
Variables
Key
Value
Code samples

Use the configured request in your preferred language.