mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-21 15:12:26 +02:00
Update openapi.json spec to include POST /runs endpoint. (#837)
This commit is contained in:
@@ -1543,6 +1543,46 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/runs": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"runs/create"
|
||||
],
|
||||
"summary": "Run Stateless",
|
||||
"description": "Create a stateless run that will run in the background.",
|
||||
"operationId": "run_stateless_runs_post",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RunCreate"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successful Response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"422": {
|
||||
"description": "Validation Error",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/HTTPValidationError"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/runs/crons/{cron_id}": {
|
||||
"delete": {
|
||||
"tags": [
|
||||
|
||||
Reference in New Issue
Block a user