Deployment
This API allows you to retrieve a specific deployed prompt by ID.
Request
Header
Bearer Token Authentication
All API requests must include a valid workspace API key in the Authorization header using the Bearer token format.
You can create your workspace API key in Adaline by visiting Settings > API Keys.
Query Parameters
The unique identifier of the prompt.
The unique identifier of the deployment.
Find your promptId and deploymentId by navigating to the specific deployment in platform.
Response
The unique identifier of the deployment.
Unix timestamp when the deployment was created.
Unix timestamp when the deployment was last updated.
Unique identifier of the user who created the deployment.
Unique identifier of the user who last updated the deployment.
The unique identifier of the project.
The unique identifier of the prompt.
The unique identifier of the deployment environment.
The configuration and settings for the prompt, see ConfigType for more details.
The messages in the prompt, see MessageType for more details.
An array of variables with their modality (text or image) used in the prompt. Helpful in detecting and replacing variables in the prompt with end-user inputs, context, etc.
Best Practices
-
Cache Deployments: Cache deployment responses when possible to reduce API calls and improve performance.
-
Environment Management: Use different deployment environments (production, staging, development) to manage your prompt lifecycle.
-
Rate Limit Awareness: Monitor your usage to avoid hitting rate limits, especially on free plans.