# Entity Search

Partner and entity search functionality

## GET /v1/partners/{searchTerm}

> Search for collaboration partners

```json
{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"tags":[{"name":"Entity Search","description":"Partner and entity search functionality"}],"servers":[{"url":"http://connect2.tsanet.org","description":"Generated server url"}],"security":[{"bearerAuth":[]}],"paths":{"/v1/partners/{searchTerm}":{"get":{"tags":["Entity Search"],"summary":"Search for collaboration partners","operationId":"searchPartners","parameters":[{"name":"searchTerm","in":"path","description":"The name of the partner you would like to search for","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"List of matching partners","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PartnerSelectionDTO"}}},"application/problem+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PartnerSelectionDTO"}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"schemas":{"PartnerSelectionDTO":{"type":"object","properties":{"label":{"type":"string"},"companyName":{"type":"string"},"departmentName":{"type":"string"},"companyId":{"type":"integer","format":"int64"},"departmentId":{"type":"integer","format":"int64"},"documentId":{"type":"integer","format":"int64"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagDTO"}}}},"TagDTO":{"type":"object","properties":{"tag":{"type":"string"}}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string"},"validationErrors":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string"},"message":{"type":"string"}}}}}}
```

## Semantic search for collaboration partners

> Search for partners using natural language queries. This endpoint uses AI-powered  semantic search to understand the intent of your query and find relevant partners  based on their capabilities, technologies, industries, and descriptions.  Only returns partners that are interactable based on your community access.  Examples: - "partners who handle AWS networking" - "companies specializing in retail logistics" - "database migration experts"&#x20;

```json
{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"tags":[{"name":"Entity Search","description":"Partner and entity search functionality"}],"servers":[{"url":"http://connect2.tsanet.org","description":"Generated server url"}],"security":[{"bearerAuth":[]}],"paths":{"/v1/partners/search":{"get":{"tags":["Entity Search"],"summary":"Semantic search for collaboration partners","description":"Search for partners using natural language queries. This endpoint uses AI-powered  semantic search to understand the intent of your query and find relevant partners  based on their capabilities, technologies, industries, and descriptions.  Only returns partners that are interactable based on your community access.  Examples: - \"partners who handle AWS networking\" - \"companies specializing in retail logistics\" - \"database migration experts\" ","operationId":"searchPartnersSemanticSearch","parameters":[{"name":"query","in":"query","description":"Natural language search query describing what kind of partner you're looking for","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Maximum number of results to return","required":false,"schema":{"type":"integer","format":"int32","default":10}}],"responses":{"200":{"description":"List of matching interactable partners ranked by relevance","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PartnerSelectionDTO"}}},"application/problem+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PartnerSelectionDTO"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"schemas":{"PartnerSelectionDTO":{"type":"object","properties":{"label":{"type":"string"},"companyName":{"type":"string"},"departmentName":{"type":"string"},"companyId":{"type":"integer","format":"int64"},"departmentId":{"type":"integer","format":"int64"},"documentId":{"type":"integer","format":"int64"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagDTO"}}}},"TagDTO":{"type":"object","properties":{"tag":{"type":"string"}}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string"},"validationErrors":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string"},"message":{"type":"string"}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tsanet.gitbook.io/connect/api-reference/entity-search.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
