POST
/
sources
curl --request POST \
  --url https://api.praxos.ai/sources \
  --header 'Content-Type: multipart/form-data' \
  --form 'name=<string>' \
  --form 'description=<string>'
{
  "id": "<string>",
  "name": "<string>",
  "environment_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "status": "<string>"
}

Query Parameters

environment_id
string
required

ID of the environment to create the source in

type
enum<string>

Type of source to create (only required for conversation type)

Available options:
conversation

Body

Response

200
application/json

Source created successfully

The response is of type object.