Skip to content

Cohere released API specification v10.0.2 which updated the X-API-Warning response header documentation URLs#11275

Closed
Omcodes23 wants to merge 14 commits intovercel:mainfrom
Omcodes23:main
Closed

Cohere released API specification v10.0.2 which updated the X-API-Warning response header documentation URLs#11275
Omcodes23 wants to merge 14 commits intovercel:mainfrom
Omcodes23:main

Conversation

@Omcodes23
Copy link
Copy Markdown
Contributor

Background

Cohere released API specification v10.0.2 which updated the X-API-Warning response header documentation URLs across multiple endpoints. The documentation reference URLs have been migrated from the old versioning reference page to the new reference documentation page.

Summary

This PR acknowledges the Cohere API specification v10.0.2 update. The following endpoints now reference the updated documentation URL:

  • POST /v1/detokenize
  • GET /v1/embed-jobs
  • POST /v1/embed-jobs
  • POST /v1/embed-jobs/{id}/cancel
  • GET /v1/embed-jobs/{id}
  • POST /v1/embed
  • POST /v1/generate
  • GET /v1/models/{model}
  • POST /v1/summarize
  • POST /v1/tokenize
  • POST /v2/embed

URL Change:

  • Old: https://docs.cohere.com/versioning-reference
  • New: https://docs.cohere.com/reference/about

Manual Verification

The Cohere API specification update is external to this repository. No code changes are required in the AI SDK as the URL updates are within Cohere's API documentation only.

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

Related Issues

Fixes #11055

@vercel-ai-sdk vercel-ai-sdk bot added ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label documentation Improvements or additions to documentation provider/cohere Issues related to the @ai-sdk/cohere provider labels Dec 18, 2025
@lgrammel
Copy link
Copy Markdown
Collaborator

this changes the groq but the pr is about cohere?

@Omcodes23
Copy link
Copy Markdown
Contributor Author

I have first update the cohere changes and raised the pr than also started working on the groq issue and accidentally committed them so the cohere changes have been done for this issue you can check

@Omcodes23
Copy link
Copy Markdown
Contributor Author

Please close this issue after that I will raise saprate pr for the groq

@gr2m gr2m closed this Dec 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label documentation Improvements or additions to documentation provider/cohere Issues related to the @ai-sdk/cohere provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🤖 Provider API update - cohere@10.0.2

3 participants