Getting Started
Audit Logs
Checklists
Datasets
- GETList datasets
- POSTCreate a new dataset
- GETGet dataset by ID or slug
- DELDelete a dataset
- PATCHUpdate a dataset
- POSTCreate a new prompt
- GETGet prompt by ID
- DELDelete a prompt
- PATCHUpdate a prompt
- GETGet prompt variation by ID
- DELDelete a prompt variation
- PATCHUpdate a prompt variation
- POSTCreate a new prompt variation
Evals
Playground Endpoints
Runs
Templates
Test
Test endpoint for playground API testing
A public endpoint that echoes back the request data for testing the playground custom API feature
POST
/
v1
/
test-endpoint
Copy
curl --request POST \
--url https://api.lunary.ai/v1/test-endpoint \
--header 'Content-Type: application/json' \
--data '{}'
Copy
{
"message": "<string>",
"receivedAt": "2023-11-07T05:31:56Z",
"echo": {},
"headers": {},
"method": "<string>"
}
Body
application/json · object
Response
200 - application/json
Successful response with echoed data
The response is of type object
.
Copy
curl --request POST \
--url https://api.lunary.ai/v1/test-endpoint \
--header 'Content-Type: application/json' \
--data '{}'
Copy
{
"message": "<string>",
"receivedAt": "2023-11-07T05:31:56Z",
"echo": {},
"headers": {},
"method": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.