IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Get allocators

edit

Retrieves the information for all of the allocators in the platform.

Request

edit

GET /api/v1/platform/infrastructure/allocators

Query parameters

edit
Name Type Required Description

from

integer

N

(Optional) The offset from the first result you want to fetch. Defaults to 0.

q

string

N

(Optional) The query that filters the allocators. Maps to an Elasticsearch query_string query.

size

integer

N

(Optional) The maximum number of search results to return. Defaults to 100.

sort

string

N

(Optional) An comma-separated array of fields to sort the search results by. Defaults to allocator_id.

Responses

edit
200

(AllocatorOverview) An overview of all allocators

To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.

Request example

edit
curl -XGET {{hostname}}/api/v1/platform/infrastructure/allocators \
-u $CLOUD_USER:$CLOUD_KEY