Skip to content

docs: add Agent API v2 endpoints#4223

Closed
mintlify-development[bot] wants to merge 1 commit intomainfrom
mintlify/add-agent-v2-api-1773098129
Closed

docs: add Agent API v2 endpoints#4223
mintlify-development[bot] wants to merge 1 commit intomainfrom
mintlify/add-agent-v2-api-1773098129

Conversation

@mintlify-development
Copy link
Contributor

@mintlify-development mintlify-development bot commented Mar 9, 2026

Summary

  • Adds documentation for new Agent API v2 endpoints with fire-and-forget job creation
  • Includes create job, get job status, and send message endpoints
  • New v2 API returns JSON immediately for polling-based status retrieval
  • Adds localized pages for French, Spanish, and Chinese

Changes

  • Created admin-openapi-v2.json with v2 API specification
  • Added MDX documentation pages in api/agent-v2/
  • Updated navigation in docs.json for all languages
  • Updated API introduction to mention v2 endpoints

Note

Low Risk
Documentation-only changes (OpenAPI + MDX + nav updates) with no runtime logic or security-sensitive code paths modified.

Overview
Adds a new admin-openapi-v2.json spec for Agent API v2, defining async job creation (POST /agent/{projectId}/job), status polling (GET /agent/{projectId}/job/{id}), and follow-up messaging (POST /agent/{projectId}/job/{id}/message).

Publishes new API reference pages for these v2 endpoints (EN plus fr/, es/, zh/) and updates api/introduction.mdx and docs.json navigation to surface the new Agent v2 section alongside the existing streaming v1 docs.

Written by Cursor Bugbot for commit 5f40e1b. This will update automatically on new commits. Configure here.

@ethanpalm
Copy link
Collaborator

closing for #4225

@ethanpalm ethanpalm closed this Mar 10, 2026
@ethanpalm ethanpalm deleted the mintlify/add-agent-v2-api-1773098129 branch March 10, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants