cURL
curl --request GET \
--url http://localhost:4100/v1/agents/api/providers/{providerId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/agents/api/providers/{providerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"name": "<string>",
"docsUrl": "<string>",
"baseUrl": "<string>",
"category": "<string>",
"blocked": true,
"chains": [
8453
],
"curated": true,
"iconUrl": "<string>",
"description": "<string>",
"endpointCount": 123,
"verifiedCount": 123,
"rankScore": 123,
"minPriceUnits": "<string>",
"maxPriceUnits": "<string>",
"chainId": 8453,
"endpoints": [
{
"id": "<string>",
"path": "<string>",
"method": "GET",
"summary": "<string>",
"blocked": true,
"chainId": 8453,
"priceUnits": "<string>",
"asset": "<string>",
"payable": true,
"unpayableReason": "<string>",
"verification": "verified",
"uniquePayers": 123
}
],
"endpointTotal": 123
}Agent API
Get v1agentsapiproviders 1
Owner or connected agent session required. Available only when the Base Agent API runtime gate is enabled and verified.
cURL
curl --request GET \
--url http://localhost:4100/v1/agents/api/providers/{providerId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/agents/api/providers/{providerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"name": "<string>",
"docsUrl": "<string>",
"baseUrl": "<string>",
"category": "<string>",
"blocked": true,
"chains": [
8453
],
"curated": true,
"iconUrl": "<string>",
"description": "<string>",
"endpointCount": 123,
"verifiedCount": 123,
"rankScore": 123,
"minPriceUnits": "<string>",
"maxPriceUnits": "<string>",
"chainId": 8453,
"endpoints": [
{
"id": "<string>",
"path": "<string>",
"method": "GET",
"summary": "<string>",
"blocked": true,
"chainId": 8453,
"priceUnits": "<string>",
"asset": "<string>",
"payable": true,
"unpayableReason": "<string>",
"verification": "verified",
"uniquePayers": 123
}
],
"endpointTotal": 123
}Authorizations
Response
Current authoritative state or accepted request.