Model Providers

Live-test credentials against the provider API

Send a minimal test request to verify API key validity and measure response latency.

post/api/user/model-providers/{provider_id}/test

Request

  • Base URL: https://foresea.ink (the document declares no server; this is the origin it was published from)
  • URL: https://foresea.ink/api/user/model-providers/{provider_id}/test
  • Auth: none declared

Path parameters

provider_idstring required

Request body

api_keystring nullable
model_namestring nullable
custom_base_urlstring nullable

Response

Successful Response

okboolean required
latency_msnumber nullable
messagestring nullable
modelstring nullable
sample_responsestring nullable
errorstring nullable

Changes

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