Skip to main content
GET
Query Package Quota

Authorizations

x-ti-app-id
string
header
required

Please Sign in to TextIn and navigate to "Console - API Keys" to view x-ti-app-id

x-ti-secret-code
string
header
required

Please Sign in to TextIn and navigate to "Console - API Keys" to view x-ti-secret-code

Query Parameters

api_path
string
required

The service path to query. Missing this parameter returns "Invalid params".

  • xParse: /ai/service/v1/pdf_to_markdown
  • DocFlow: /docflow
Example:

"/ai/service/v1/pdf_to_markdown"

include_all
enum<integer>
default:0

Whether to include expired packages.

  • 0 (default): only packages currently in effect
  • 1: all packages, including expired ones
Available options:
0,
1

Response

200 - application/json

Package list

code
integer
required

Status code

  • 200: Success
  • 40101: x-ti-app-id or x-ti-secret-code is empty
  • 40102: x-ti-app-id or x-ti-secret-code is invalid, authentication failed
  • 40004: Parameter error, please check the technical documentation and verify the parameters
  • 500: Internal server error
Example:

200

msg
string
required

Status message

Example:

"success"

data
object