Skip to content

Search entity type

GET
/api/v1/search/{entity_type}
curl --request GET \
--url 'https://app.ayna.com/api/v1/search/example?q=example&limit=20&offset=0'

Search within a specific entity type.

Path Parameters:

  • entity_type: One of pilot, mission, flight, aircraft (drone is a compatibility alias), crew, fleet

Query Parameters:

  • q: Search query string
  • limit: Max results (default: 20, max: 100)
  • offset: Pagination offset
entity_type
required
Entity Type
string
q
required
Q
string
limit
Limit
integer
default: 20
offset
Offset
integer
0

OK

Media typeapplication/json
Response
object
key
additional properties
any

Example generated

{}