Agent Vault Session Logs

Lists a session's logs newest first, as encrypted chunks of records. To decrypt them, follow Reading session logs through the API. To follow new logs as they arrive, use the endpoint that tails session logs. If Infisical can't read session logs, the request fails with the error AgentVaultSessionLogStorageUnavailable.

get/api/v1/agent-vault/sessions/{sessionId}/logs

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v1/agent-vault/sessions/{sessionId}/logs
  • Auth
    none declared

Path parameters

sessionIdstring uuid required

The ID of the session.

Query parameters

cursorstring

The nextCursor from the previous response. Leave it out to start from the newest logs.

fromstring date-time

Return only chunks with records at or after this time. A chunk can also hold earlier records, so filter records by ts.

tostring date-time

Return only chunks with records at or before this time. A chunk can also hold later records, so filter records by ts.

Response

Default Response

nextCursorstring nullable required

Pass this as cursor to get older logs. Null when there's nothing older. A page can have no chunks and still have a nextCursor.

Changes

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property / from the response with the status

    • warning

      deleted the query request parameter limit

    • info

      for the query request parameter cursor, the maxLength was increased from 256 to 8192