curl --request GET \
--url https://api.getmaxim.ai/v1/prompts \
--header 'x-maxim-api-key: <api-key>'{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"workspaceId": "<string>",
"accountId": "<string>",
"folderId": "<string>",
"createdById": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"deploymentHistory": {
"id": "<string>",
"workspaceId": "<string>",
"accountId": "<string>",
"promptId": "<string>",
"strategy": {
"type": "<string>",
"config": {}
},
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>"
},
"meta": null
}Get prompts for a workspace
curl --request GET \
--url https://api.getmaxim.ai/v1/prompts \
--header 'x-maxim-api-key: <api-key>'{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"workspaceId": "<string>",
"accountId": "<string>",
"folderId": "<string>",
"createdById": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"deploymentHistory": {
"id": "<string>",
"workspaceId": "<string>",
"accountId": "<string>",
"promptId": "<string>",
"strategy": {
"type": "<string>",
"config": {}
},
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>"
},
"meta": null
}API key for authentication
Unique identifier for the workspace
Unique identifier for the prompt
Name of the prompt
Maximum number of records to return (max: 100)
x <= 100Unique identifier for the folder
Include prompt versions in the response
Unique identifier for the cursor
Deployment query conditions to match against deployment strategy. When provided, returns the matching prompt version.
Show child attributes
Prompts retrieved successfully
Show child attributes
Was this page helpful?