openapi: 3.1.0
info:
title: agent-states-api-v2 AccountSet Reports API
version: '1.1'
servers:
- url: https://{instance}.response.lithium.com/api/v2/agentstate
variables:
instance:
default: instance
security:
- {}
tags:
- name: Reports
paths:
/reports/jobs:
get:
summary: Get job status
description: Retrieve the status of a job . This endpoint will be deprecated and removed in April 2020.
operationId: jobs
responses:
'200':
description: '200'
content:
application/json:
examples:
Job still running:
value: "{ \n \"status\":\"PASS\",\n \"request\":null,\n \"message\":null,\n \"result\":[ \n { \n \"jobInfo\":{ \n \"workflowId\":\"0b485dbe-9c85-3700-b0b8-f864f80c452c\",\n \"runId\":\"23ISbFVIyg0uqeXMD1/+UtZDfJAwfF+z53a/jSscKPVRk=\"\n },\n \"result\":{ \n \"runnerState\":\"RUNNING\",\n \"reason\":null,\n \"details\":null,\n \"currentCount\":null,\n \"totalCount\":null,\n \"lastAcknowledgeTime\":null\n }\n }\n ]\n}"
Job finished:
value: "{ \n \"status\":\"PASS\",\n \"request\":null,\n \"message\":null,\n \"result\":[ \n { \n \"jobInfo\":{ \n \"workflowId\":\"b8520152-0f68-338e-8c49-db6190be58f9\",\n \"runId\":\"233mkcTFbmE+40bqQ3db/4SnnqomXScvqbK/kdzMtD0qo=\",\n \"downloadUrl\":\"https://analytics-api.app.lithium.com/api/public/reports/report/b8520152-0f68-338e-8c49-db6190be58f9/233mkcTFbmE%2B40bqQ3db%2F4SnnqomXScvqbK%2FkdzMtD0qo%3D/download?companyKey=[company_key]\"\n },\n \"result\":{ \n \"runnerState\":\"CLOSED\",\n \"reason\":null,\n \"details\":null,\n \"currentCount\":null,\n \"totalCount\":null,\n \"lastAcknowledgeTime\":null\n }\n }\n ]\n}"
schema:
oneOf:
- title: Job still running
type: object
properties:
status:
type: string
example: PASS
request: {}
message: {}
result:
type: array
items:
type: object
properties:
jobInfo:
type: object
properties:
workflowId:
type: string
example: 0b485dbe-9c85-3700-b0b8-f864f80c452c
runId:
type: string
example: 23ISbFVIyg0uqeXMD1/+UtZDfJAwfF+z53a/jSscKPVRk=
result:
type: object
properties:
runnerState:
type: string
example: RUNNING
reason: {}
details: {}
currentCount: {}
totalCount: {}
lastAcknowledgeTime: {}
- title: Job finished
type: object
properties:
status:
type: string
example: PASS
request: {}
message: {}
result:
type: array
items:
type: object
properties:
jobInfo:
type: object
properties:
workflowId:
type: string
example: b8520152-0f68-338e-8c49-db6190be58f9
runId:
type: string
example: 233mkcTFbmE+40bqQ3db/4SnnqomXScvqbK/kdzMtD0qo=
downloadUrl:
type: string
example: https://analytics-api.app.lithium.com/api/public/reports/report/b8520152-0f68-338e-8c49-db6190be58f9/233mkcTFbmE%2B40bqQ3db%2F4SnnqomXScvqbK%2FkdzMtD0qo%3D/download?companyKey=[company_key]
result:
type: object
properties:
runnerState:
type: string
example: CLOSED
reason: {}
details: {}
currentCount: {}
totalCount: {}
lastAcknowledgeTime: {}
deprecated: false
security: []
x-readme:
code-samples:
- language: curl
code: "curl -u username:password \\\n 'https://analytics-api.app.lithium.com/api/public/reports/jobs?companyKey=[company_key]'"
samples-languages:
- curl
tags:
- Reports
/reports/report/conversation_actions:
get:
summary: Create conversation actions report
description: Generate a Conversation Actions export
operationId: reportsreportconversation_actions
parameters:
- name: businessHourType
in: query
description: Sets the business hour type. `true` means “within business hours”, `false` means “outside of business hours”, and null/missing means “No Business Hours, aka 24/7”.<br><br>If you pass in a non-null value for `businessHourType`, you *must* also pass in `enableBusinessHour=true`.<br><br>Learn more about business hours in <a href="https://community.khoros.com/t5/Khoros-Care-Analytics/Business-hours-in-Response-enabling-and-reporting/ta-p/160172" target="_blank">Business hours in Response</a>.
schema:
type: boolean
- name: companyKey
in: query
description: The company key found in **Account Admin > General Settings > Analytics API Settings**.
required: true
schema:
type: string
- name: enableBusinessHour
in: query
description: Enables filtering by business hours using the `businessHourType` parameter. If you pass in a non-null value for `businessHourType`, you *must* also pass in `enableBusinessHour=true`. Learn more about business hours in <a href="https://community.khoros.com/t5/Khoros-Care-Analytics/Business-hours-in-Response-enabling-and-reporting/ta-p/160172" target="_blank">Business hours in Response</a><br><br>If the Smart View specified by the `smartViewId` parameter uses business hours, the smart view’s settings (as defined in Response’s Admin screen) for business hours overrides both `enableBusinessHour` and `businessHourType`.
schema:
type: boolean
default: false
- name: endTime
in: query
description: (Required) The end time in epoch milliseconds. This value will not be adjusted. includeDisabled
required: true
schema:
type: string
- name: locale
in: query
description: 'The locale to use for the export. Supported values: en, es, fr, de, tr'
schema:
type: string
- name: priorities
in: query
description: 'Filters the export to only data (posts or conversations) that match the specified priority.<br><br>Pass a comma-separated list with values 0 through 5. The list must be URL-encoded. For example: priorities=0%2C1%2C2%2C3%2C4%2C5<br/><br/>If not specified, all priorities are included.'
schema:
type: string
- name: reportFormat
in: query
description: 'The format of the export. Possible values: json or csv. Default is `json`.<br><br>Prior to the February 2019 release, only the Agent State Export, Raw Brand Post Export, Raw Expert Help Request, Raw Response, Raw Team Performance, and Team Performance Interval reports were available in JSON format.'
schema:
type: string
default: json
- name: reportMetrics
in: query
description: 'Added December 2018. Use `reportMetrics` to return specific metrics (columns) in the report. You can use this to return a subset of metrics and also to return metrics currently disabled for your company. Use a separate `reportMetrics` query parameter for each metric desired.<br><br>Example: `reportMetrics=agent_name&reportMetrics=agent_email&reportMetrics=agent_id`'
schema:
type: string
- name: smartViewId
in: query
description: Filters the export to only data (posts or conversations) that match the specified smart view. You must use the ID of the smart view for this parameter. Use `/api/v2/smartviews` to find IDs for your existing smart view. **Note:** Only one smart view ID can be passed in as a parameter.
schema:
type: string
- name: startTime
in: query
description: (Required) The start time in epoch milliseconds. This value will not be adjusted.
required: true
schema:
type: string
- name: timezone
in: query
description: A time zone ID to specify in which time zone to format dates in the report export. Find supported time zone IDs using the `/config/timezones` endpoint.
schema:
type: string
- name: timezoneOffset
in: query
description: Pass the timezone offset in milliseconds to calculate and format dates in the report to this offset.<br><br>If not provided, then times will be in UTC (Coordinated Universal Time).<br><br>This is only used to format dates, and is not aware of changes to/from Daylight Saving Time.<br><br>Use Positive values for timezones ahead of UTC and negative values for timezones behind UTC.<br><br>Examples:<br>A timezone that is UTC +01:00 should send in a timezoneOffset of 3600000.<br>A timezone that is UTC -01:00 should send in a timezoneOffset of -3600000.
schema:
type: string
- name: workqueueIds
in: query
description: 'Filters the export to only data (posts or conversations) that match the specified work queue.<br><br>You must use the ID of the work queue for this parameter. Use `/api/v2/workqueues/active` to find IDs for your existing work queues.<br><br>Pass a comma-separated list of the IDs. The list must be URL-encoded. For example: `workqueueIds=15%2C21%2C2%2C23%2C52%2C13`'
schema:
type: string
responses:
'200':
description: '200'
content:
application/json:
examples:
Result:
value: "{\n \"status\":\"PASS\",\n \"request\":null,\n \"message\":null,\n \"result\":{\n \"workflowId\":\"2951efa0-ea55-3a74-8a60-66ea888bb83d\",\n \"runId\":\"239cSQoLhKk0Z4YSzWvYX4Z92E9ybFgvwNcrbwc3O8Hms=\",\n \"downloadUrl\":\"\",\n \"statusUrl\":\"https://analytics-api.app.lithium.com/api/public/reports/report/2951efa0-ea55-3a74-8a60-66ea888bb83d/239cSQoLhKk0Z4YSzWvYX4Z92E9ybFgvwNcrbwc3O8Hms%3D/status?companyKey=manual-c01\"\n }\n}"
schema:
type: object
properties:
status:
type: string
example: PASS
request: {}
message: {}
result:
type: object
properties:
workflowId:
type: string
example: 2951efa0-ea55-3a74-8a60-66ea888bb83d
runId:
type: string
example: 239cSQoLhKk0Z4YSzWvYX4Z92E9ybFgvwNcrbwc3O8Hms=
downloadUrl:
type: string
example: ''
statusUrl:
type: string
example: https://analytics-api.app.lithium.com/api/public/reports/report/2951efa0-ea55-3a74-8a60-66ea888bb83d/239cSQoLhKk0Z4YSzWvYX4Z92E9ybFgvwNcrbwc3O8Hms%3D/status?companyKey=manual-c01
deprecated: false
security: []
x-readme:
code-samples:
- language: curl
code: 'curl -u [USERNAME]:[PASSWORD] -XGET \
''https://analytics-api.app.lithium.com/api/public/reports/report/conversation_actions?companyKey=[COMPANY_KEY]&reportFormat=json&startTime=1561438800000&endTime=1561525199999&timezone=America%2FChicago'''
samples-languages:
- curl
tags:
- Reports
post:
summary: Create conversation actions export
description: Generate a Conversation Actions export
operationId: reportsreportconversation_actions-1
parameters:
- name: companyKey
in: query
description: The company key found in **Account Admin > General Settings > Analytics API Settings**.
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
required:
- endTime
- startTime
properties:
businessHourType:
type: boolean
description: Sets the business hour type. `true` means “within business hours”, `false` means “outside of business hours”, and null/missing means “No Business Hours, aka 24/7”.<br><br>If you pass in a non-null value for `businessHourType`, you *must* also pass in `enableBusinessHour=true`.<br><br>Learn more about business hours in <a href="https://community.khoros.com/t5/Khoros-Care-Analytics/Business-hours-in-Response-enabling-and-reporting/ta-p/160172">Business hours in Response</a>.
enableBusinessHour:
type: boolean
description: Enables filtering by business hours using the `businessHourType` parameter. If you pass in a non-null value for `businessHourType`, you *must* also pass in `enableBusinessHour=true`. Learn more about business hours in <a href="https://community.khoros.com/t5/Khoros-Care-Analytics/Business-hours-in-Response-enabling-and-reporting/ta-p/160172">Business hours in Response</a><br><br>If the Smart View specified by the `smartViewId` parameter uses business hours, the smart view’s settings (as defined in Response’s Admin screen) for business hours overrides both `enableBusinessHour` and `businessHourType`.
default: false
endTime:
type: string
description: The end time in epoch milliseconds. This value will not be adjusted.
locale:
type: string
description: 'The locale to use for the export. Supported values: en, es, fr, de, tr'
priorities:
type: string
description: 'Filters the export to only data (posts or conversations) that match the specified priority.<br><br>Pass a comma-separated list with values 0 through 5. The list must be URL-encoded. For example: priorities=0%2C1%2C2%2C3%2C4%2C5<br/><br/>If not specified, all priorities are included.'
reportFormat:
type: string
description: 'The format of the export. Possible values: json or csv. Default is `json`.<br><br>Prior to the February 2019 release, only the Agent State Export, Raw Brand Post Export, Raw Expert Help Request, Raw Response, Raw Team Performance, and Team Performance Interval reports were available in JSON format.'
default: json
reportMetrics:
type: string
description: 'Added December 2018. Use `reportMetrics` to return specific metrics (columns) in the export. You can use this to return a subset of metrics and also to return metrics currently disabled for your company. Use a separate `reportMetrics` query parameter for each metric desired.<br><br>Example: `reportMetrics=agent_name&reportMetrics=agent_email&reportMetrics=agent_id`'
smartViewId:
type: string
description: Filters the export to only data (posts or conversations) that match the specified smart view. You must use the ID of the smart view for this parameter. Use `/api/v2/smartviews` to find IDs for your existing smart view. **Note:** Only one smart view ID can be passed in as a parameter.
startTime:
type: string
description: The start time in epoch milliseconds. This value will not be adjusted.
timezone:
type: string
description: A time zone ID to specify in which time zone to format dates in the export. Find supported time zone IDs using the `/config/timezones` endpoint.
timezoneOffset:
type: string
description: Pass the timezone offset in milliseconds to calculate and format dates in the export to this offset.<br><br>If not provided, then times will be in UTC (Coordinated Universal Time).<br><br>This is only used to format dates, and is not aware of changes to/from Daylight Saving Time.<br><br>Use Positive values for timezones ahead of UTC and negative values for timezones behind UTC.<br><br>Examples:<br>A timezone that is UTC +01:00 should send in a timezoneOffset of 3600000.<br>A timezone that is UTC -01:00 should send in a timezoneOffset of -3600000.
workqueueIds:
type: string
description: 'Filters the export to only data (posts or conversations) that match the specified work queue.<br><br>You must use the ID of the work queue for this parameter. Use `/api/v2/workqueues/active` to find IDs for your existing work queues.<br><br>Pass a comma-separated list of the IDs. The list must be URL-encoded. For example: `workqueueIds=15%2C21%2C2%2C23%2C52%2C13`'
responses:
'200':
description: '200'
content:
text/plain:
examples:
Result:
value: "{\n \"status\":\"PASS\",\n \"request\":null,\n \"message\":null,\n \"result\":{\n \"workflowId\":\"cc645bd3-9def-3d5c-bf05-20efeb11f453\",\n \"runId\":\"23IS1+Anp9mm9Bl+C2VZV3UY2T6g4H6eoODJUFQPVpvlI=\",\n \"downloadUrl\":\"\",\n \"statusUrl\":\"https://analytics-api.app.lithium.com/api/public/reports/report/cc645bd3-9def-3d5c-bf05-20efeb11f453/23IS1%2BAnp9mm9Bl%2BC2VZV3UY2T6g4H6eoODJUFQPVpvlI%3D/status?companyKey=[COMPANY_KEY]\"\n }\n}"
schema:
type: object
properties:
status:
type: string
example: PASS
request: {}
message: {}
result:
type: object
properties:
workflowId:
type: string
example: cc645bd3-9def-3d5c-bf05-20efeb11f453
runId:
type: string
example: 23IS1+Anp9mm9Bl+C2VZV3UY2T6g4H6eoODJUFQPVpvlI=
downloadUrl:
type: string
example: ''
statusUrl:
type: string
example: https://analytics-api.app.lithium.com/api/public/reports/report/cc645bd3-9def-3d5c-bf05-20efeb11f453/23IS1%2BAnp9mm9Bl%2BC2VZV3UY2T6g4H6eoODJUFQPVpvlI%3D/status?companyKey=[COMPANY_KEY]
deprecated: false
security: []
x-readme:
code-samples:
- language: curl
code: "curl -u [USERNAME]:[PASSWORD] -XPOST \\\n'https://analytics-api.app.lithium.com/api/public/reports/report/conversation_actions?companyKey=[COMPANY_KEY]' \\\n -d 'startTime=1548979200000&endTime=1556668800000&timezoneOffset=-21600000&enableBusinessHour=true&locale=en&timeInterval=86400000&timezone=America%2FChicago'"
name: cURL
samples-languages:
- curl
tags:
- Reports
/reports/report/user:
get:
summary: Create user export
description: Generate a User export
operationId: reportsreportuser-get
parameters:
- name: agentId
in: query
description: 'The ID of the agent. Use a separate instance of the `agentId` parameter for each agent to include. Example: `?agentId=1&agent=2&agentId=3`.'
schema:
type: string
- name: companyKey
in: query
description: The company key found in **Account Admin > General Settings > Analytics API Settings**.
required: true
schema:
type: string
- name: endTime
in: query
description: (Required) The end time in epoch milliseconds. This value will not be adjusted. includeDisabled
required: true
schema:
type: string
- name: includeDisabled
in: query
description: Whether or not to include disabled agents in the report
schema:
type: boolean
default: false
- name: locale
in: query
description: 'The locale to use for the export. Supported values: en, es, fr, de, tr'
schema:
type: string
- name: reportMetrics
in: query
description: 'Added December 2018. Use reportMetrics to return specific metrics (columns) in the export. You can use this to return a subset of metrics and also to return metrics currently disabled for your company. Use a separate `reportMetrics` query parameter for each metric desired.<br><br>Example: `reportMetrics=agent_name&reportMetrics=agent_email&reportMetrics=agent_id`'
schema:
type: string
- name: reportFormat
in: query
description: 'The format of the export. Possible values: json or csv. Default is `json`.<br><br>Prior to the February 2019 release, only the Agent State Export, Raw Brand Post Export, Raw Expert Help Request, Raw Response, Raw Team Performance, and Team Performance Interval reports were available in JSON format.'
schema:
type: string
default: json
- name: startTime
in: query
description: (Required) The start time in epoch milliseconds. This value will not be adjusted.
required: true
schema:
type: string
- name: teamId
in: query
description: 'The ID of the team used to filter the report. Find the team ID with the `/teams` endpoint. Example: `?teamId=1&teamId=2&teamId=3`'
schema:
type: string
responses:
'200':
description: '200'
content:
application/json:
examples:
Result:
value: "{\n \"status\": \"PASS\",\n \"request\": null,\n \"message\": null,\n \"result\": {\n \"workflowId\": \"39b3a89d-1e79-3233-8127-8aa617f6f9d0\",\n \"runId\": \"23evvPscL2zWpQgpSqGPu6H5B+rqoJ7YgYws8e96uMyRM=\",\n \"downloadUrl\": \"https://analytics-api.app.lithium.com/api/public/reports/report/39b3a89d-1e79-3233-8127-8aa617f6f9d0/23evvPscL2zWpQgpSqGPu6H5B%2BrqoJ7YgYws8e96uMyRM%3D/download?companyKey=[COMPANY KEY]\",\n \"statusUrl\": \"https://analytics-api.app.lithium.com/api/public/reports/report/39b3a89d-1e79-3233-8127-8aa617f6f9d0/23evvPscL2zWpQgpSqGPu6H5B%2BrqoJ7YgYws8e96uMyRM%3D/status?companyKey=[COMPANY KEY]\"\n }\n}"
schema:
type: object
properties:
status:
type: string
example: PASS
request: {}
message: {}
result:
type: object
properties:
workflowId:
type: string
example: 39b3a89d-1e79-3233-8127-8aa617f6f9d0
runId:
type: string
example: 23evvPscL2zWpQgpSqGPu6H5B+rqoJ7YgYws8e96uMyRM=
downloadUrl:
type: string
example: https://analytics-api.app.lithium.com/api/public/reports/report/39b3a89d-1e79-3233-8127-8aa617f6f9d0/23evvPscL2zWpQgpSqGPu6H5B%2BrqoJ7YgYws8e96uMyRM%3D/download?companyKey=[COMPANY KEY]
statusUrl:
type: string
example: https://analytics-api.app.lithium.com/api/public/reports/report/39b3a89d-1e79-3233-8127-8aa617f6f9d0/23evvPscL2zWpQgpSqGPu6H5B%2BrqoJ7YgYws8e96uMyRM%3D/status?companyKey=[COMPANY KEY]
deprecated: false
security: []
x-readme:
code-samples:
- language: curl
code: 'curl -u [USERNAME]:[PASSWORD] -XGET \
''https://analytics-api.app.lithium.com/api/public/reports/report/user?startTime=1548979200000&endTime=1556668800000&companyKey=[COMPANY_KEY]&timeInterval=3600000000'''
samples-languages:
- curl
tags:
- Reports
post:
summary: Create user export
description: Generate a User export
operationId: reportsreportuser-post
parameters:
- name: companyKey
in: query
description: The company key found in **Account Admin > General Settings > Analytics API Settings**.
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
required:
- endTime
- startTime
properties:
agentId:
type: string
description: 'The ID of the agent. Use a separate instance of the `agentId` parameter for each agent to include. Example: `?agentId=1&agent=2&agentId=3`. See [Using agentId with teamId](ref:using-agentid-with-teamid) for more details.'
endTime:
type: string
description: The end time in epoch milliseconds. This value will not be adjusted. This parameter only affects the "Total Time" data.
includeDisabled:
type: boolean
description: Whether or not to include disabled agents in the report. Default is `false`.
default: false
locale:
type: string
description: 'The locale to use for the export. Supported values: en, es, fr, de, tr'
reportFormat:
type: string
description: 'The format of the export. Possible values: json or csv. Default is `json`.'
default: json
reportMetrics:
type: string
description: 'Added December 2018. Use `reportMetrics` to return specific metrics (columns) in the export. You can use this to return a subset of metrics and also to return metrics currently disabled for your company. Use a separate `reportMetrics` query parameter for each metric desired.<br><br>Example: `reportMetrics=agent_name&reportMetrics=agent_email&reportMetrics=agent_id`'
startTime:
type: string
description: The start time in epoch milliseconds. This value will not be adjusted. This parameter only affects the "Total Time" data.
teamId:
type: string
description: 'The ID of the team used to filter the export. Find the team ID with the `/teams` endpoint. Example: `?teamId=1&teamId=2&teamId=3`'
responses:
'200':
description: '200'
content:
application/json:
examples:
Result:
value: "{ \n \"status\":\"PASS\",\n \"request\":null,\n \"message\":null,\n \"result\":{ \n \"workflowId\":\"ec76f5df-7687-39cd-bde7-9e096c274469\",\n \"runId\":\"23LC2OQ4fUTembCkirAt5OinVWmrzWRb10mdJE+JOLNZM=\",\n \"downloadUrl\":\"https://analytics-api.app.lithium.com/api/public/reports/report/ec76f5df-7687-39cd-bde7-9e096c274469/23LC2OQ4fUTembCkirAt5OinVWmrzWRb10mdJE%2BJOLNZM%3D/download?[COMPANY KEY]\",\n \"statusUrl\":\"https://analytics-api.app.lithium.com/api/public/reports/report/ec76f5df-7687-39cd-bde7-9e096c274469/23LC2OQ4fUTembCkirAt5OinVWmrzWRb10mdJE%2BJOLNZM%3D/status?companyKey=[COMPANY KEY]\"\n }\n}"
schema:
type: object
properties:
status:
type: string
example: PASS
request: {}
message: {}
result:
type: object
properties:
workflowId:
type: string
example: ec76f5df-7687-39cd-bde7-9e096c274469
runId:
type: string
example: 23LC2OQ4fUTembCkirAt5OinVWmrzWRb10mdJE+JOLNZM=
downloadUrl:
type: string
example: https://analytics-api.app.lithium.com/api/public/reports/report/ec76f5df-7687-39cd-bde7-9e096c274469/23LC2OQ4fUTembCkirAt5OinVWmrzWRb10mdJE%2BJOLNZM%3D/download?[COMPANY KEY]
statusUrl:
type: string
example: https://analytics-api.app.lithium.com/api/public/reports/report/ec76f5df-7687-39cd-bde7-9e096c274469/23LC2OQ4fUTembCkirAt5OinVWmrzWRb10mdJE%2BJOLNZM%3D/status?companyKey=[COMPANY KEY]
deprecated: false
security: []
x-readme:
code-samples:
- language: curl
code: "curl -u [USERNAME]:[PASSWORD] -XPOST \\\n'https://analytics-api.app.lithium.com/api/public/reports/report/user?companyKey=[COMPANY KEY]' \\\n\t\t-d 'startTime=1682312400000' \\\n\t\t-d 'endTime=16823555400000' \\\n\t\t-d 'reportFormat=json'"
samples-languages:
- curl
tags:
- Reports
/reports/report/{workflowId}/{runId}/download:
get:
summary: Download export by run ID
description: Download an export
operationId: reportworkflowidruniddownload
parameters:
- name: workflowId
in: path
description: The workflowId returned from a request to an export generation endpoint, such as `/reports/report/author`. Must be URL-encoded.
schema:
type: string
required: true
- name: runId
in: path
description: The runID returned from a request to an export generation endpoint like /reports/report/author. Must be URL-encoded.
schema:
type: string
required: true
responses:
'200':
description: '200'
content:
text/plain:
examples:
Result:
value: " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n100 145 100 145 0 0 419 0 --:--:-- --:--:-- --:--:-- 419"
deprecated: false
security: []
x-readme:
code-samples:
- language: curl
code: "curl -L -u [USERNAME]:[PASSWORD] \\\n 'https://analytics-api.app.lithium.com/api/public/reports/report/[workflowId]/[runId]/download?companyKey=[COMPANY_KEY]' \n -o report.csv"
name: Download as CSV
- language: curl
code: "curl -L -u '[USERNAME]:[PASSWORD] \\\n 'https://analytics-api.app.lithium.com/api/public/reports/report/88cfc7fe-dfde-3b7d-b201-ec48e640f349/23ojMp0U9YVNcR1JMV0FMLctcCMGPxBlDqA%2FexQnahUI8%3D/status?companyKey=[COMPANY_KEY]' \\\n -o report2.json"
name: Download as JSON
samples-languages:
- curl
tags:
- Reports
/reports/report/author:
post:
summary: Create raw author export
description: Genearate a Raw Author export
operationId: reportsreportauthor
parameters:
- name: businessHourType
in: query
description: Sets the business hour type. `true` means “within business hours”, `false` means “outside of business hours”, and null/missing means “No Business Hours, aka 24/7”.<br><br>If you pass in a non-n
# --- truncated at 32 KB (121 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/lithium/refs/heads/main/openapi/lithium-reports-api-openapi.yml