model-gateway

Check a stored key with one tiny request

Spends a few tokens on your provider account (counted under the "test" role). Provider errors come back with any key fragment removed.

post/api/v1/model-keys/{id}/test

Request

  • Base URL: https://worthune.com
  • URL: https://worthune.com/api/v1/model-keys/{id}/test
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key

Request body

modelstring required

Response

The provider answered.

okunknown required
providerstring required
modelstring required
latencyMsinteger required
replystring required

Changes

No recorded changes to this operation across all 1 revision of this API.