Get recent Computer Agent service logs
Returns recent service logs for the selected Computer Agent with optional line-count and time-window limits.
OpenAPI
````yaml get /api/v2/computer/accounts/{targetAccountId}/runtime/service-logs
openapi: 3.0.0
info:
version: 2.0.0
title: GetVoiceBot API
description: GetVoiceBot API Documentation
servers:
- url: https://api.getvoicebot.com
description: GetVoiceBot Production
variables:
baseUrl:
default: api.getvoicebot.com
description: Production API Root
security: []
tags:
- name: Agents
- name: Inbound Email
description: Control which senders may create inbound email work for an Agent.
- name: Features
description: Inspect capabilities available within an account hierarchy.
- name: Conversation Logs
description: Query conversation activity and calculate account-level metrics.
- name: Computer Agents
description: Set up, configure, inspect, and manage GetVoiceBot Computer Agents.
- name: Computer Agent Sessions
description: View and reset Computer Agent sessions.
- name: Accounts
- name: Agent Templates
description: Create, manage, and apply reusable Agent configurations.
paths:
/api/v2/computer/accounts/{targetAccountId}/runtime/service-logs:
get:
tags:
- Computer Agents
summary: Get recent Computer Agent service logs
description: >
Returns recent service logs for the selected Computer Agent with
optional line-count and time-window limits.
operationId: runtimeGetServiceLogs
parameters:
- name: targetAccountId
in: path
required: true
description: ''
schema:
type: string
responses:
'200':
description: Recent Computer Agent service logs
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: true
customerId:
type: string
tail:
type: integer
sinceSeconds:
type: integer
nullable: true
logs:
type: string
truncated:
type: boolean
maxBytes:
type: integer
'404':
description: Computer Agent service was not found
'502':
description: Computer Agent service logs could not be read
security:
- apiKeyAuth: []
components:
securitySchemes:
apiKeyAuth:
type: apiKey
in: query
name: token
description: GetVoiceBot API Token
````
