Endpoints
Analyze text
Send content to a specified agent using their agent ID.
POST
/
agents
/
{agentId}
/
analyze
/
text
Authorizations
x-api-key
string
headerrequiredPath Parameters
agentId
string
requiredThe ID of the agent to send feedback to.
Body
application/json
content
string
The text you'd like to analyze. Limit 1000 characters.
Maximum length:
1000
Response
200 - application/json
agent_id
string
ID of the agent that performs the analysis.
agent_name
string
Name of the agent that performs the analysis.
content
string
Content sent for analysis.
label
string
The label with the highest probability. This will always be the label with the highest score.
score
number
The label score, ranging from 0 to 1, with 1 indicating a high probability of being correct.
label_scores
object
An object that includes the scores for all labels.