gateway.openapi_Gateway

Validate Model Upload

get/v1/accounts/{account_id}/models/{model_id}:validateUpload

Path parameters

account_idstring required

The Account Id

model_idstring required

The Model Id

Query parameters

skipHfConfigValidationboolean

If true, skip the Hugging Face config validation.

trustRemoteCodeboolean

If true, trusts remote code when validating the Hugging Face config.

configOnlyboolean

If true, skip tokenizer and parameter name validation.

Response

A successful response.

warningsstring[]

Changes

Changed in 2 of the 27 revisions of this API.4

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      the endpoint scheme security BearerAuth was added to the API

      api-security-added

    • ○

      api tag gateway.openapi_Gateway added

      api-tag-added

    • ○

      api tag Gateway removed

      api-tag-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog