curl --location --request GET 'https://api.superagent.sh/api/v1/tools/{toolId}' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
{
"success": true,
"data": {
"id": "clhjmx2ka00016ilng9y0ha3f",
"userId": "clhj28u1300006ig02ptpm1sh",
"name": "My test tool",
"type": "SEARCH",
"user": {
"id": "clhj28u1300006ig02ptpm1sh",
"email": "jane@doe.com,
"name": "Jane Doe",
"createdAt": "2023-05-11T11:42:54.323000+00:00",
"updatedAt": "2023-05-11T11:42:54.323000+00:00",
"deletedAt": null,
"profile": null,
"Agent": null,
"ApiToken": null,
"Document": null
},
}
}
Get single tool.
curl --location --request GET 'https://api.superagent.sh/api/v1/tools/{toolId}' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
{
"success": true,
"data": {
"id": "clhjmx2ka00016ilng9y0ha3f",
"userId": "clhj28u1300006ig02ptpm1sh",
"name": "My test tool",
"type": "SEARCH",
"user": {
"id": "clhj28u1300006ig02ptpm1sh",
"email": "jane@doe.com,
"name": "Jane Doe",
"createdAt": "2023-05-11T11:42:54.323000+00:00",
"updatedAt": "2023-05-11T11:42:54.323000+00:00",
"deletedAt": null,
"profile": null,
"Agent": null,
"ApiToken": null,
"Document": null
},
}
}
tool
ID.curl --location --request GET 'https://api.superagent.sh/api/v1/tools/{toolId}' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
{
"success": true,
"data": {
"id": "clhjmx2ka00016ilng9y0ha3f",
"userId": "clhj28u1300006ig02ptpm1sh",
"name": "My test tool",
"type": "SEARCH",
"user": {
"id": "clhj28u1300006ig02ptpm1sh",
"email": "jane@doe.com,
"name": "Jane Doe",
"createdAt": "2023-05-11T11:42:54.323000+00:00",
"updatedAt": "2023-05-11T11:42:54.323000+00:00",
"deletedAt": null,
"profile": null,
"Agent": null,
"ApiToken": null,
"Document": null
},
}
}