Agent Builder
Get agent setting
Returns safe agent model, instruction, tool, playbook, and connected-account settings.
get/public/v1/agents/{agentId}/agent-setting
Request
- Base URLhttps://prod-api.getfrontline.ai
- Auth
- HTTP bearer
- or HTTP bearer
- TypeScripthttps://skmtc.dev/getfrontline/apis/getfrontline/docs/public/v1/agents/:agentId/agent-setting/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
agentIdstring required
Example:uuid-xxxx-xxxx
Response
Agent setting
Example response
{
"id": 1,
"aiModelId": 1,
"aiModel": {
"id": 1,
"name": "example",
"description": "example",
"creditsPerMessage": 1,
"order": 1,
"analyticsColor": "example",
"externalId": "example",
"aiVendor": "example",
"type": "TEXT"
},
"model": "example",
"aiType": "ASSISTANT",
"temperature": 1,
"instructions": "example",
"agentRole": "NONE",
"toneOfVoice": "NONE",
"answerLength": "NONE",
"maxIterations": 1,
"agentType": "BASIC",
"customTools": [
{
"id": 1,
"name": "example",
"description": "example",
"status": "example",
"type": "example"
}
],
"selectedRecordTypes": [
{
"recordTypeId": 1
}
],
"agentConnectedAccounts": [
{
"connectedAccountId": 1,
"selectedToolSlugs": [
"example"
],
"connectedAccount": {
"id": 1,
"toolkit": "example",
"alias": "example",
"connectedEmail": "example"
}
}
],
"agentPlaybooks": [
{
"playbookId": 1,
"assignedAt": "example",
"playbook": {
"id": 1,
"name": "example",
"description": "example"
}
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.