Dependencies
Create a new Dependency
Authorization<token>
User API key (Bearer scp_u_...). Create in Platform > API Keys.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/dependencies" \ -H "Content-Type: application/json" \ -d '{ "color": "Blue", "created_at": "2026-01-15T10:30:00Z", "dependency_type": "RequestPath", "description": "HTTP/HTTPS services dependency", "edge_style": "Bezier", "id": "550e8400-e29b-41d4-a716-446655440008", "lineage_id": null, "members": { "service_ids": [], "type": "Services" }, "name": "Web Services", "network_id": "550e8400-e29b-41d4-a716-446655440002", "source": { "type": "Manual" }, "tags": [], "updated_at": "2026-01-15T10:30:00Z", "valid_from": "2026-01-15T10:30:00Z", "valid_to": null }'{
"meta": {
"api_version": 1,
"server_version": "0.17.17"
},
"success": true,
"data": {
"color": "Blue",
"created_at": "2026-01-15T10:30:00Z",
"dependency_type": "RequestPath",
"description": "HTTP/HTTPS services dependency",
"edge_style": "Bezier",
"id": "550e8400-e29b-41d4-a716-446655440008",
"lineage_id": null,
"members": {
"service_ids": [],
"type": "Services"
},
"name": "Web Services",
"network_id": "550e8400-e29b-41d4-a716-446655440002",
"source": {
"type": "Manual"
},
"tags": [],
"updated_at": "2026-01-15T10:30:00Z",
"valid_from": "2026-01-15T10:30:00Z",
"valid_to": null
},
"error": "string"
}{
"meta": {
"api_version": 1,
"server_version": "0.17.17"
},
"success": true,
"code": "string",
"error": "string",
"params": {
"property1": null,
"property2": null
}
}