Privacy Policy

Last updated 6 November 2026

In short: this APAI instance keeps a record of your account, what you spent, and the conversations you have in the web sandbox. Your API keys and access codes are stored only as hashes. Prompts you send through the API are not stored by APAI - but they are forwarded to the third-party provider whose model you chose.

This summary is for orientation only. The sections below say exactly what happens, including the parts people usually care about.

1. Who is responsible for your data

This APAI instance is run by Coremponents ("the operator"), who is responsible for the personal data described here and is the person to contact at fjdurud08@gmail.com about it. APAI is self-hosted software: the operator runs it on their own server and decides what happens to the data on it.

The operator is not the same party as the AI providers APAI forwards requests to. See section 4.

2. What this instance stores

WhatWhy
Your account record: label or name, contact detail, free-text notes the operator keeps about you, balance, whether the account is active or an administrator, when it was created and when you last signed in To run your account, identify you to the operator, and let the operator administer your balance and access
Your access code and API keys, stored as hashes, plus a short identifying prefix, name, spending cap, spending so far, expiry and last-used time To authenticate you without keeping a copy of the credential itself
Usage records for each request: a request id, timestamp, which account and key it belonged to, model name and which provider served it, whether it came from the API or the sandbox, token counts or image count, cost, whether it streamed, how long it took, and whether it succeeded - plus the provider's error text when it failed To bill correctly, to show you your own spending, and to let the operator see that the service is working
Balance movements: top-ups, spending, adjustments, who made them, and the balance after each one; plus short-lived reservations made while a request is in flight To keep an accurate, auditable balance
Web sandbox conversations: the messages you type, the model's replies, and generated images (stored in full, as the images the sandbox shows), along with the chat title, model and cost So the sandbox can show your conversation again when you come back
An audit trail of administrative actions and server logs (request line, status, errors) To investigate faults and abuse, and to know who changed what

3. What is not stored

  • Your access code and API keys are never stored in readable form. Only a hash is kept, and the plaintext is shown to you once, when it is created.
  • API prompts and responses are not stored. A request made through the API leaves a usage record - counts, cost, timing, status - but not the text you sent or the text you got back.
  • Provider API keys are encrypted with the instance's secret key, and are only decrypted to make a request.
  • No advertising, analytics or tracking identifiers, and no profiling of you for anything other than billing.

Two honest qualifications. First, if a request fails, the provider's error message is recorded, and a provider sometimes quotes part of the request in its error - so fragments of a prompt can end up in a usage record or a log. Second, anything you type into the web sandbox is stored as a conversation (section 2), unlike API calls.

4. What leaves this server

When you send a request, APAI forwards your prompt or messages, and any image you asked it to edit, to the third-party provider that serves the model you chose. That provider processes the content under its own terms and privacy policy, on its own infrastructure, in whatever country it operates. The operator chooses which providers are configured and can tell you which ones are in use; the interface deliberately hides provider names from users, but you should assume a third party outside this server processes every request.

Beyond that, your data is not sent anywhere. This instance serves its own stylesheet, scripts and fonts from the same server - there are no third-party scripts, tags or content delivery networks on these pages.

5. Cookies

One cookie is set when you sign in: apai_session, which holds a signed session token. It is HttpOnly (not readable by scripts), SameSite=Lax, marked Secure when you are on HTTPS, and it expires after 14 days from when you signed in - after that you sign in again. Signing out deletes it. There are no advertising or analytics cookies, and the API does not use cookies at all - it authenticates with your API key.

6. IP addresses

The IP address you sign in from is held in memory, only to slow down repeated failed sign-in attempts. The attempt times for an address are dropped once the few-minute window has passed, and a successful sign-in clears them straight away. It is never written to the database. Standard server logs (request line, status, errors) are written to a file on the server, rotated daily and kept for 14 days, and they can include your IP address as part of the request line.

7. How long data is kept

  • Account, balance and usage records: kept while your account exists, and afterwards as long as the operator needs them for accounting and dispute resolution - up to 24 months.
  • Sandbox conversations: kept until you delete the chat (there is a delete button beside each one) or ask the operator to remove it. Deleting a chat removes its messages and images.
  • Server logs: rotated daily, kept for 14 days.
  • Reservations: released or settled within seconds of a request finishing, and cleaned up afterwards.

8. Security

Credentials are hashed, provider keys are encrypted, the session cookie is protected as described above, and the operator can revoke any key or account immediately. No service can promise perfect security, and the operator cannot guarantee it here. If you find a security problem, report it to fjdurud08@gmail.com rather than testing it against other people's data.

9. Your choices and rights

You can see your own balance, spending and conversations in the interface, and delete your chats yourself. For anything else - a copy of your data, correction of your account details, deletion of your account, or an objection to how it is handled - contact the operator at fjdurud08@gmail.com.

Depending on where you live, you may have legal rights over your personal data, such as access, correction, deletion, portability, or the right to object or complain to a supervisory authority. The operator will handle such a request as the law of the Republic of Belarus requires.

10. Children

The service is not intended for children under 14, and the operator does not knowingly hold their data. If you believe a child has an account, contact the operator so it can be closed.

11. Changes to this policy

This policy may be updated when the service or the law changes; the "last updated" date above will change with it, and material changes will be notified in the interface or by the contact method on your account.

12. Contact

Questions, requests and complaints about privacy go to fjdurud08@gmail.com.

See also the Terms of Service · API documentation · Models and prices