Supported platforms
You do not tell CloudThinker which generation you run — the Connected message names what it found, and that answer decides whether agents work with buckets and Flux (InfluxDB 2) or databases and SQL (InfluxDB 3).
Prerequisites
- An InfluxDB instance reachable from CloudThinker over its HTTP API. Self-hosted InfluxDB 2 usually answers on
8086, InfluxDB 3 Core on8181. - An API token with read access to the buckets or databases you want the agent to see.
- On InfluxDB 2 only: the name of the organization, if the token reaches more than one.
Setup
- InfluxDB 2
- InfluxDB 3
1
Create a read token
In the InfluxDB UI, open Load Data → API Tokens, click Generate, and choose Read/Write API Token. Select the buckets CloudThinker should read in the Read pane and leave the Write pane empty — see the InfluxDB 2 token guide.Copy the token immediately; InfluxDB shows the value once.
2
Add the connection in CloudThinker
Go to Connections → InfluxDB and enter:
- Base URL: scheme, host, and port, such as
https://influx.example.com:8086 - API token: the token you just copied
- Organization: your organization name, only if this token reaches more than one
InfluxDB 2 connection verified (v2.7.12).Connection details
Required permissions
The token needs read access to the containers you want inspected, and nothing more:
Write access is needed only if you also turn the write tool on, and then only to change retention and create or delete a container. It is never needed to read.
Agent capabilities
Once connected, Tony can read what your instance holds.
Answers are bounded: the inventory reads at most 25 containers, and a query returns at most 50 rows by default within a 60-second budget; the agent says when a result was cut short. A retention the token cannot read is reported as unreadable, not merged into the forever count.
Verify the connection
Example prompts
Write access
The connection ships with writes turned off. A workspace owner turns the write tool on, and even then the agent states the exact container and change and waits for your approval every time. Reads never ask.Troubleshooting
InfluxDB rejected this API token
InfluxDB rejected this API token
The token was revoked, incompletely copied, or belongs to a different instance. InfluxDB shows a token’s value only at creation, so create a new token and reconnect.
The token has no read permission
The token has no read permission
The token is valid but its permissions do not cover the buckets or databases. Widen its read scope in InfluxDB, or create a token that includes them, then test again.
The URL did not answer, or did not answer as InfluxDB
The URL did not answer, or did not answer as InfluxDB
Nothing answered, or something answered that was not the InfluxDB API — including an InfluxDB 1.x instance or the InfluxDB Cloud Dedicated management API, neither of which is supported. Check that the instance is running and reachable from CloudThinker, that the Base URL points at the InfluxDB HTTP port — usually
8086 on InfluxDB 2 and 8181 on InfluxDB 3 Core — and that any path is only the proxy prefix.A redirect was refused
A redirect was refused
Something in front of the instance is steering the API call to another host. CloudThinker never follows it, because that would send your token somewhere you did not name. Point the connection at the host that serves InfluxDB itself.
An agent says the token reaches several organizations
An agent says the token reaches several organizations
On InfluxDB 2, a token that reaches more than one organization leaves no bucket or query unambiguously scoped. Reconnect and set the Organization field to the one you want.
An agent refuses to run a query
An agent refuses to run a query
Statements that would stop being reads are refused: Flux that writes points or opens outbound connections on InfluxDB 2, and SQL that inserts, changes, or removes anything on InfluxDB 3. Nothing was sent to your instance. Rewrite the question as a read.
An agent reports fewer containers than the InfluxDB UI shows
An agent reports fewer containers than the InfluxDB UI shows
Either the token cannot see the rest, or the inventory stopped at its limit of 25. Check the token’s read scope first, then ask about the specific bucket or database by name.
Security
- Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
- Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
- Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
- Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
- The token is the whole credential — there is no second factor, so scope it to the containers you want seen and treat an InfluxDB 3 Core token as an admin credential.
- Stored data points are unreachable — no permission you grant and no switch you turn on makes your time-series data writable through CloudThinker.
Related
Prometheus Connection
Metric queries, alert rules, and target health
ClickHouse Connection
Schema inspection and analytical query investigation