OP Inference
API reference

Get a tool by its listed id

GET
/v1/tools/op-inference/{vendor}/{tool}

The same answer as /v1/tools/{vendor}/{tool}, addressed by the id /v1/tools lists, op-inference/<vendor>/<tool>.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Your API key, sent as Authorization: Bearer <key>.

Path Parameters

vendor*string
tool*string

Response Body

The tool.

application/json
  1. response

A model of modality tool. Every other field is the model's, as /v1/models/{id} lists it.

id*string
object*string
modality*string
pricing*
inputs?
[key: string]?any
curl -X GET "https://example.com/v1/tools/op-inference/exa/search" \  -H "Authorization: Bearer $OP_API_KEY"
{  "id": "string",  "object": "tool",  "modality": "tool",  "pricing": {},  "inputs": {}}