update documentation as deprecated for createmodelapikey endpoint#1182
Open
lkapadiya-DO wants to merge 4 commits into
Open
update documentation as deprecated for createmodelapikey endpoint#1182lkapadiya-DO wants to merge 4 commits into
lkapadiya-DO wants to merge 4 commits into
Conversation
DO-rrao
reviewed
Jun 1, 2026
Comment on lines
13
to
-39
| @@ -32,8 +43,5 @@ responses: | |||
| security: | |||
| - bearer_auth: | |||
| - genai:create | |||
| summary: Create a Model API Key | |||
| tags: | |||
| - GradientAI Platform | |||
| x-codeSamples: | |||
| - $ref: examples/curl/genai_create_model_api_key.yml | |||
Collaborator
There was a problem hiding this comment.
Pls remove the orphaned file examples/curl/genai_create_model_api_key.yml as well.
DO-rrao
reviewed
Jun 1, 2026
| Previously, you could create a model API key by sending a POST request to `/v2/gen-ai/models/api_keys`. | ||
| operationId: genai_create_model_api_key | ||
| requestBody: | ||
| content: |
Collaborator
There was a problem hiding this comment.
Please create a ticket for future removal of this documentation from openapi (and other repos if needed)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA: https://do-internal.atlassian.net/browse/INF-425
Currently the CreateModelAPIKey endpoint
(/v2/gen-ai/models/api_keys)is retired and is returning 410 with error message to the user. We want to deprecate the open api documentation as well.