Get agents

GET {{baseUrl}}/agents?filter=<string>&size=20&page=0&sort=<string>

Gets the agents for the given filter.

Request Params

KeyDatatypeRequiredDescription
filterstringJSON based filter.
Filter json can contain following fields:
  • securityProfile (Agents securityProfiles can be "RSA_3072", "SHARED_SECRET") E.g.: {"securityProfile":"SHARED_SECRET"}
  • id E.g.: {"id":"3b27818ea09a46b48c7eb3fbd878349f"}
  • name E.g.: {"name":"Nanobox Agent"} | | size | number | | The maximum number of elements in a page. | | page | number | | The (0-based) index of page. | | sort | string | | The order of returned elements. Multiple fields could be used separated by commas (e.g. ''field1,field2''). Descending order could be requested by appending '',desc'' at the end of parameter.(e.g. ''field1,field2,desc'')' |

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;content&quot;:[{&quot;name&quot;:&quot;Nanobox Agent&quot;,&quot;securityProfile&quot;:&quot;NATIVE_CA_CERTIFIED_X509&quot;,&quot;entityId&quot;:&quot;3b27818ea09a46b48c7eb3fbd878349f&quot;,&quot;id&quot;:&quot;3b27818ea09a46b48c7eb3fbd878349f&quot;,&quot;eTag&quot;:&quot;2&quot;},{&quot;name&quot;:&quot;Nanobox Agent&quot;,&quot;securityProfile&quot;:&quot;NATIVE_CA_CERTIFIED_X509&quot;,&quot;entityId&quot;:&quot;3b27818ea09a46b48c7eb3fbd878349f&quot;,&quot;id&quot;:&quot;3b27818ea09a46b48c7eb3fbd878349f&quot;,&quot;eTag&quot;:&quot;2&quot;}],&quot;totalPages&quot;:1,&quot;totalElements&quot;:1,&quot;last&quot;:true,&quot;numberOfElements&quot;:1,&quot;first&quot;:true,&quot;sort&quot;:[{&quot;direction&quot;:&quot;DESC&quot;,&quot;property&quot;:&quot;in&quot;,&quot;ignoreCase&quot;:true,&quot;nullHandling&quot;:&quot;NULLS_FIRST&quot;,&quot;descending&quot;:true,&quot;ascending&quot;:false},{&quot;direction&quot;:&quot;ASC&quot;,&quot;property&quot;:&quot;dolore et&quot;,&quot;ignoreCase&quot;:true,&quot;nullHandling&quot;:&quot;NULLS_LAST&quot;,&quot;descending&quot;:false,&quot;ascending&quot;:false}],&quot;size&quot;:20,&quot;number&quot;:0}