---
id: telemetry-log-available-instances
title: List instances with logs
description: List instances that have logs for the application.
sidebar_label: List instances with logs
hide_title: true
hide_table_of_contents: true
api: >-
  eJztV99v2zYQ/leIe0oB2ZbcpUj0FrTd4CHDgsbBirmGwVgXiS1FquQpjWHofy+oX5ZsOckSYHvZky37dPfdfd8dj1uI0K6NyEhoBSFcCktMKEtcrdEySjixhN8jkzq27E4bRgkynmVSrLl7Zwwe6AxN+TCLIARCiSmS2YRSxyG/50LyW4mr1it4QDy2EC7gUscWlh5k3PAUCY37dQvCQck4JeCB4ilCCJ2Qswg8sOsEUw7hFmiTOQOhCGM0UHhg8HsuDEYQksnR20tx3k+AzT64HPCBp5lECIPCqwF8z9FsdggscUMrEikOhbdkhIr70e+4tAfhZ9d/js7e+QG7mb9n2rAbJR6Y82qJpxk7Se2bHh6Y+tPpKJiOpu/mgR9O/fCt/zccA4kq+o8hTp+CKEUq6DEGPUiFEmmeQhh4kPKH6vup/zTyPypjpvL0Fg3Td8ygzSVZdhKMTv0+bOfwCNVrneFKPF9ng2CunRc2+8DuhCQ0z1OZwgdaZTzGFelvqF7F4xWPhapEXjrrk1b5L5YeWFznRtCm7L1b5AbNRU4JhIul+9ugzbSyaB2Gqe+7jz3BtAPjh6CknBUu1lorQkXOvtNwk6/WvbQ9TEzffsW1k0Zm3EghUYXMXBrx03aVsAaZ2q/qYTELD0hQWZg6XuFBRZw9DF14sBtsh1bcGO44FYSpHQ5W6/IZLx3JthmnTqZD2mg1PFiQCDOpNykqOmoiuaWVUDFax9oq4oSP103q+KIpSqMIKJ6ysJ9qebmYrTq7rNe8nvoDPDYq7nHVeaEztAcn6dj3y1E1ROei+/ayQ9lir/ogRufn52dnZ2fQrXtwUObgSFUdsrcjPxj5wXw6DQM/9IMa2bIoK/jL58+HbfdeClTE0BhtWNulLMqRkWZC3XMpIiZUlpMb46mwVqiY7Q7bVzXpbvgsIEVreVxWqa/S5o8hhZa4X98AV25PGPJ/PHbRU2W7sHwsAe1kWGVQVa0c5u75nssce6lVlDNhWVuSog5xOkTbNZp7NAe0CRWVxVcx44oJa3NkbnInyC6uZsyKCP/n62m+atlf6vhXbVJORzhzW6DUMcuMvhcRmoq+TJuSgHLbFVXxfxitYrf6OmdtFRb7CcGkng+TYOK6ut7CdhHT3BJLOa2T2hn7As5w5Cy/QN3qZaYpUqLdYImxrGMdoMv3trcQFxOp48nwrm1LuVVjKzcSQkiIMhtOJjwTY5VLmUlODtJ4rdPeQnDtxFSVtbsWtPw4R82G4p4rI/DqLw0B8Ptf8/KkEOpOl3ygsVUvBGN/7MOO23nDraM105ZSXsq63o72rifttgF7q8921yYvu9LUCRI+0CSTXJRHTFm9bU3Hott+4EG4f0OROobuubLjZOlBoi05H9vtLbd4Y2RRuJ+rZdAxFQnr3jqy2nXze+a2PpjRN9zs32zqXoFyf/83UXSuLi/E8Jzt/xEAzcXkhdEH1v3Har67Yrww3tB2/0jAw4vFLu7SPRjhAv9D8Z18qk+VN2z4Xj2IqDlA1KYLo0Hab6RiWXiQII+wmrqVzcV6jVmXrIOz0CXVztHfPs5dL/an1960Kr0PIttuK4u5K1xRtECbG1RRFD8BeJHqVw==
sidebar_class_name: get api-method
info_path: docs/api/telemetry
custom_edit_url: null
canonical: 'https://docs.nullplatform.com/docs/api/telemetry-log-available-instances'
---
<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"List instances with logs"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/application/{applicationId}/log/available_instances"}
  context={"endpoint"}
>

</MethodEndpoint>

List instances that have logs for the application.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"in":"path","name":"applicationId","schema":{"type":"integer"},"required":true,"description":"The application ID.","example":1},{"in":"query","name":"start_time","schema":{"type":"string"},"required":false,"description":"ISO-8601 UTC or Unix timestamp (ms).","example":"2022-12-26T10:20:30Z"},{"in":"query","name":"end_time","schema":{"type":"string"},"required":false,"description":"ISO-8601 UTC or Unix timestamp (ms).","example":"2022-12-26T12:20:30Z"},{"in":"query","name":"limit","schema":{"type":"integer","minimum":1,"maximum":50},"required":false,"description":"Maximum number of results (1-50).","example":50},{"in":"query","name":"scope_id","schema":{"type":"integer"},"required":false,"description":"Scope ID filter.","example":1},{"in":"query","name":"next_page_token","schema":{"type":"string"},"required":false,"description":"Pagination token.","example":"token"}]}
>

</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>

</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"200":{"description":"Instances with logs.","content":{"application/json":{"schema":{"type":"object","properties":{"paging":{"type":"object","properties":{"limit":{"type":"integer"},"next_page_token":{"type":"string"}},"title":"paging"},"filters":{"type":"object"},"available_filters":{"type":"array","items":{"type":"string"}},"results":{"type":"array","items":{"type":"object","properties":{"instance_id":{"type":"string"},"scope_id":{"type":"integer"},"deployment_id":{"type":"integer"},"last_ingestion_date":{"type":"string"}},"title":"logAvailableInstance"}}},"title":"logAvailableInstancesResponse"},"example":{"paging":{"limit":50,"next_page_token":"token"},"filters":{"limit":50,"start_time":"2022-12-26T10:20:30.000Z"},"available_filters":["start_time"],"results":[{"instance_id":"i-9998888","scope_id":1,"deployment_id":1,"last_ingestion_date":"2023-01-01T22:10:01.000Z"}]}}}},"4XX":{"description":"Client error responses due to invalid input or missing parameters.","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"},"error":{"type":"array","items":{"type":"object","properties":{"instancePath":{"type":"string"},"message":{"type":"string"}}}}},"title":"telemetryError"},"examples":{"missingScope":{"value":{"message":"scope is required"}}}}}},"5XX":{"description":"Server error responses indicating an issue on the API side.","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"},"error":{"type":"array","items":{"type":"object","properties":{"instancePath":{"type":"string"},"message":{"type":"string"}}}}},"title":"telemetryError"},"examples":{"invalidLogFormat":{"value":{"message":"The log provider is reporting logs in the wrong format","error":[{"instancePath":"/results/1/datetime","message":"must match format \"date-time\""}]}}}}}}}}
>

</StatusCodes>

