Overview
Usage of your API keys, updated live.
–
Active keys
–
Requests · 24h
–
Tokens · 24h
–
Avg response · 24h
Requests
Last 14 days
Succeeded
Failed
Get started
Three steps to your first request
- Create an API keyOne key per app makes revoking easy. Create key →
- Try Yug in the chatAsk anything, or attach a PDF. Open chat →
- Call the API from your appCopy a ready-made example. View docs →
Recent activity
Latest requests across your keys
| When | Key | Status | Pages | Tokens | Time |
|---|---|---|---|---|---|
| Loading… | |||||
Y
How can I help you today?
I can chat, write, explain and work with PDFs you attach.
Enter to send · Shift+Enter for a new line · A PDF stays attached for follow-up questions
API keys
Keys let your apps call Yug. Each key is shown once, when you create it.
| Name | Key | Created | Last used | Requests | Tokens | Status | |
|---|---|---|---|---|---|---|---|
| Loading… | |||||||
API docs
Everything you need to call Yug from your own code.
Base URL & authentication
Send your key in the Authorization header
Authorization: Bearer yug_…Endpoints
POST
/v1/extractSend a request and wait for the answerPOST
/v1/jobsQueue a request, get a job_id back right awayGET
/v1/jobs/{job_id}Status and result of a queued requestGET
/v1/infoModel name and limitsExamples
Chat, or attach a PDF
Request body
JSON, for both POST endpoints
| Field | Type | Description |
|---|---|---|
promptrequired | string | Your message, or what to do with the PDF. |
pdf_base64 | string | A PDF, base64-encoded. Leave it out for a normal chat. Send it again with each follow-up question about the same document. |
history | array | Earlier turns, oldest first: [{"role":"user"|"assistant","content":"…"}]. Lets Yug remember the conversation. |
json_schema | object | A JSON schema. The answer is a JSON object that matches it. |
options.ocr | string | auto (read scanned pages with OCR), force or off. |
options.temperature | number | 0 to 2. Higher is more creative. Default 0. |
Account
Your profile and password.
?
Yug console user
- Model
- yug
- PDF limit
- –
Change password
At least 10 characters