Projects › Create Agent Project
Projects
Create Agent Project Create a new agent project.
curl -- request POST \
-- url "https://agent-testing.lambdatest.com/api/projects" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"name" : "<name>" ,
"description" : "<description>" ,
"agent_type" : "<agent_type>"
} '
{
"success" : true ,
"message" : "" ,
"data" : {
"project_id" : "<string>" ,
"name" : "<string>" ,
"description" : "<string>" ,
"agent_type" : "chat" ,
"created_at" : "2018-03-15T12:00:00Z" ,
"updated_at" : "2018-03-15T12:00:00Z"
}
}
Authorizations Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body application/json name string required
Project name
description string
Project description
agent_type string
Type of agent (chat, voice, or both)
Response 200▼
application/json Successful Response
success boolean
Whether the operation was successful
message string
Response message
data object
Agent project data
▶ Hide child attributesdata. project_id string
Example: "<string>"
data. name string
Example: "<string>"
data. description string
Example: "<string>"
data. agent_type string
Example: "chat"
data. created_at string
Example: "2018-03-15T12:00:00Z"
data. updated_at string
Example: "2018-03-15T12:00:00Z"
curl -- request POST \
-- url "https://agent-testing.lambdatest.com/api/projects" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"name" : "<name>" ,
"description" : "<description>" ,
"agent_type" : "<agent_type>"
} '
{
"success" : true ,
"message" : "" ,
"data" : {
"project_id" : "<string>" ,
"name" : "<string>" ,
"description" : "<string>" ,
"agent_type" : "chat" ,
"created_at" : "2018-03-15T12:00:00Z" ,
"updated_at" : "2018-03-15T12:00:00Z"
}
}