list_deployments
Retrieve a list of deployments from the Prefect API, allowing filtering by flow ID and pagination with limit and offset parameters for efficient results management.
Instructions
Get a list of deployments from the Prefect API.
Args:
limit: Maximum number of deployments to return (default 20).
offset: Number of deployments to skip (default 0).
flow_id: Optional ID of the flow to filter deployments by.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
flow_id | No | ||
limit | No | ||
offset | No |
Input Schema (JSON Schema)
{
"properties": {
"flow_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Flow Id"
},
"limit": {
"default": 20,
"title": "Limit",
"type": "integer"
},
"offset": {
"default": 0,
"title": "Offset",
"type": "integer"
}
},
"title": "list_deploymentsArguments",
"type": "object"
}