Get Elemental Types
Get the list of elemental types.
GET/v1/elemental/types- Response
Properties
| Name | Type | Description |
|---|---|---|
| id | number | ID of the elemental type |
| name | string | Name of the elemental type |
Example
{
"response": [
{
"id": 1,
"name": "Prompt"
},
{
"id": 2,
"name": "Snippet"
},
{
"id": 3,
"name": "Document"
},
{
"id": 5,
"name": "Automation"
}
]
}
CURL Example
curl -X GET "https://api-integrations.snackprompt.com/v1/elemental/types" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY"