logo-darkPipe0

Run search (async)

Use multiple data sources to search for people and company data.

POST
/v1/searches/run

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

config?
Default{"dedup":{"strategy":"default"},"environment":"production","widgets":{"enabled":false}}
searches*array<||||||||>

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.pipe0.com/v1/searches/run" \  -H "Content-Type: application/json" \  -d '{    "searches": [      {        "search_id": "people:profiles:crustdata@1",        "config": {          "cursor": "string",          "filters": {}        }      }    ]  }'
{
  "id": "string",
  "status": "completed",
  "results": [
    {
      "property1": {
        "value": "string",
        "status": "completed",
        "type": "string",
        "format": "json_object",
        "resolved_by": {
          "ref": "prompt:run@1",
          "environment": "production",
          "config_hash": "string",
          "input_hash": "string"
        },
        "widgets": {
          "display_value": {
            "label": "string"
          },
          "entity_logo": {
            "image_url": "http://example.com",
            "entity": "string"
          },
          "location_indicator": {
            "emoji": "string"
          },
          "avatar": {
            "image_url": "http://example.com",
            "name": "string"
          },
          "waterfall": {
            "attempted_providers": [
              {
                "provider": "pipe0"
              }
            ],
            "available_providers": [
              "pipe0"
            ],
            "successful_provider": "pipe0"
          },
          "icon": {
            "key": "linkedin"
          },
          "action_summary": {
            "result_status": "completed"
          },
          "sources": {
            "list": [
              {
                "source": "string",
                "description": "string",
                "url": "string"
              }
            ]
          },
          "confidence": {
            "numeric": 1
          }
        }
      },
      "property2": {
        "value": "string",
        "status": "completed",
        "type": "string",
        "format": "json_object",
        "resolved_by": {
          "ref": "prompt:run@1",
          "environment": "production",
          "config_hash": "string",
          "input_hash": "string"
        },
        "widgets": {
          "display_value": {
            "label": "string"
          },
          "entity_logo": {
            "image_url": "http://example.com",
            "entity": "string"
          },
          "location_indicator": {
            "emoji": "string"
          },
          "avatar": {
            "image_url": "http://example.com",
            "name": "string"
          },
          "waterfall": {
            "attempted_providers": [
              {
                "provider": "pipe0"
              }
            ],
            "available_providers": [
              "pipe0"
            ],
            "successful_provider": "pipe0"
          },
          "icon": {
            "key": "linkedin"
          },
          "action_summary": {
            "result_status": "completed"
          },
          "sources": {
            "list": [
              {
                "source": "string",
                "description": "string",
                "url": "string"
              }
            ]
          },
          "confidence": {
            "numeric": 1
          }
        }
      }
    }
  ],
  "search_statuses": [
    {
      "search": {
        "ref": "people:profiles:icypeas@1"
      },
      "status": "pending",
      "errors": [
        {
          "code": "string",
          "message": "string",
          "path": "string"
        }
      ],
      "meta": {
        "providers": {
          "clado": {
            "pagination": {
              "search_id": "string",
              "offset": 0
            }
          },
          "crustdata": {
            "pagination": {
              "cursor": "string"
            }
          }
        }
      }
    }
  ],
  "organizationId": "string"
}
{
  "type": "invalid-input",
  "title": "Invalid Input",
  "status": 400,
  "detail": "Name must be a string"
}
{
  "type": "invalid-input",
  "title": "Invalid Input",
  "status": 400,
  "detail": "Name must be a string"
}
{
  "type": "invalid-input",
  "title": "Invalid Input",
  "status": 400,
  "detail": "Name must be a string"
}
{
  "type": "invalid-input",
  "title": "Invalid Input",
  "status": 400,
  "detail": "Name must be a string"
}