Skip to content

Commit 5ca6f38

Browse files
Fix agent job creation route in admin API (#1415)
* Update admin-openapi.json * Update api-reference/agent/create-agent-job.mdx --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
1 parent 3cdf846 commit 5ca6f38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

admin-openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
}
6161
}
6262
},
63-
"/agent/job/{projectId}": {
63+
"/agent/{projectId}/job": {
6464
"post": {
6565
"summary": "Create agent job",
6666
"description": "Creates a new agent job that can generate and edit documentation based on provided messages and branch information.",

api-reference/agent/create-agent-job.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
openapi: POST /agent/job/{projectId}
2+
openapi: POST /agent/{projectId}/job
33
---
44

55
This endpoint creates an agent job based on provided messages and branch information. The job executes asynchronously and returns a streaming response with the execution details and results.

0 commit comments

Comments
 (0)