Search
Tool Selection
Search
Flow
Search
Tool Selection
Performs a search within the specified collection using a natural language query to find the most relevant tool.
GET
/
search
curl --request GET \
--url https://api.wild-card.ai/search \
--header 'X-API-Key: <x-api-key>'
{
"points": [
{
"id": "<string>",
"version": 123,
"score": 123,
"payload": {
"agentsJson": "<string>",
"info": {
"title": "<string>",
"version": "<string>",
"description": "<string>"
},
"sources": [
{
"id": "<string>",
"path": "<string>"
}
],
"overrides": [
"<any>"
],
"flows": [
{
"id": "<string>",
"title": "<string>",
"description": "<string>",
"actions": [
{
"id": "<string>",
"sourceId": "<string>",
"operationId": "<string>"
}
],
"links": [
{
"origin": {
"actionId": "<string>",
"fieldPath": "<string>"
},
"target": {
"actionId": "<string>",
"fieldPath": "<string>"
}
}
],
"fields": {
"parameters": [
"<any>"
],
"requestBody": {
"content": {},
"required": true
},
"responses": {
"success": {}
}
}
}
]
},
"vector": [
123
],
"shard_key": "<string>",
"order_value": 123
}
]
}
Headers
The API key for authenticating the request. You can find your API key in the Wildcard dashboard.
Query Parameters
The search query string.
The ID of the collection to search within (e.g., "c58a5915-7b28-49b1-a28d-d81ffc6f63ea").
Example:
"c58a5915-7b28-49b1-a28d-d81ffc6f63ea"
Response
200
application/json
Successful Response
Unique identifier for the search result
Version number of the result
Relevance score of the search result
Version of the agents JSON format
List of overrides for the API integration
Unique identifier for the flow
Title of the flow
Description of the flow
Vector representation of the result (if available)
Shard key for distributed storage
Value used for ordering results
curl --request GET \
--url https://api.wild-card.ai/search \
--header 'X-API-Key: <x-api-key>'
{
"points": [
{
"id": "<string>",
"version": 123,
"score": 123,
"payload": {
"agentsJson": "<string>",
"info": {
"title": "<string>",
"version": "<string>",
"description": "<string>"
},
"sources": [
{
"id": "<string>",
"path": "<string>"
}
],
"overrides": [
"<any>"
],
"flows": [
{
"id": "<string>",
"title": "<string>",
"description": "<string>",
"actions": [
{
"id": "<string>",
"sourceId": "<string>",
"operationId": "<string>"
}
],
"links": [
{
"origin": {
"actionId": "<string>",
"fieldPath": "<string>"
},
"target": {
"actionId": "<string>",
"fieldPath": "<string>"
}
}
],
"fields": {
"parameters": [
"<any>"
],
"requestBody": {
"content": {},
"required": true
},
"responses": {
"success": {}
}
}
}
]
},
"vector": [
123
],
"shard_key": "<string>",
"order_value": 123
}
]
}