POST
/
agents
cURL
curl --request POST \
  --url https://api.sentio.ai/agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "type": "<string>",
  "description": "<string>",
  "networks": [
    "<string>"
  ],
  "triggers": [
    {}
  ],
  "actions": [
    {}
  ],
  "id": 123
}'
{
  "name": "<string>",
  "type": "<string>",
  "description": "<string>",
  "networks": [
    "<string>"
  ],
  "triggers": [
    {}
  ],
  "actions": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Agent configuration to create

name
string
required

Name of the agent

type
string
required

Type of agent (e.g. DeFi, NFT, Social)

id
integer
required

Unique identifier for the agent

description
string

Detailed description of the agent's purpose

networks
string[]

Blockchain networks the agent operates on

triggers
object[]

Conditions that activate the agent

actions
object[]

Actions the agent can perform

Response

Agent created successfully

name
string
required

Name of the agent

type
string
required

Type of agent (e.g. DeFi, NFT, Social)

description
string

Detailed description of the agent's purpose

networks
string[]

Blockchain networks the agent operates on

triggers
object[]

Conditions that activate the agent

actions
object[]

Actions the agent can perform