DeploymentsService
List deployments
Request the deployments your auth can access.
Currently available auth scope does not extend over more than one deployment. This endpoint returns the single deployment your token can access. The endpoint additionally returns links to related resources available on this API.
get/api/v1/deployments
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Example response
{
"deployments": [
{
"findings": {
"url": "https://semgrep.dev/api/v1/deployments/123/findings"
},
"id": 120,
"name": "Your Deployment",
"slug": "your-deployment"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.