Info
Get info
1GET https://api.markprompt.com/info
Retrieves project information.
Example request
1curl "https://api.markprompt.com/info" \
2 -X GET \
3 -H "Authorization: Bearer <TOKEN>" \
4 -H "Accept: application/json" \
5 -H "X-Markprompt-API-Version: 2024-05-21"
Response
The response is of the form:
1{
2 "object": "info",
3 "data": {
4 "id": "project-id-1",
5 "name": "Support Bot",
6 "slug": "support-bot",
7 "team": {
8 "name": "Acme",
9 "slug": "acme"
10 },
11 "assistants": [
12 {
13 "id": "assistant-id-1",
14 "name": "Draft Composer",
15 "createdAt": "2024-12-11T09:52:56.000000+00:00",
16 "updatedAt": "2024-12-11T09:52:59.000000+00:00",
17 "versions": [
18 {
19 "id": "assistant-version-id-1",
20 "isDefault": true,
21 "version": 1,
22 "createdAt": "2024-12-11T09:52:59.000000+00:00",
23 "updatedAt": "2024-12-11T09:52:59.000000+00:00",
24 "model": "gpt-4o",
25 "instructions": "You are a helpful AI assistant."
26 }
27 ]
28 }
29 ]
30 }
31}