Get instance info
get_instance_infoCheck your OpenProject connection and report supported features, version, attachment size, and user info. Use it first to diagnose failures or confirm who you are.
Instructions
Check the OpenProject connection and report what this instance supports.
Call this first when anything fails in an unexplained way, when the user asks "am I connected / who am I", or before using a version-gated parameter. It is the server's connection test: it authenticates on every call rather than answering from cache.
Returns the core version and instance name, the attachment size ceiling
(maximum_attachment_file_size_bytes), the page sizes the instance offers, the
authenticated user {id, name, login, admin}, and features — the probe result
telling you whether internal comments, emoji reactions and project favorites exist
here, and which time-entry filter spelling this version uses.
Pitfalls: features describes the server version, not this user's permissions —
a supported feature can still 403. A failure here is the actionable one: 401 means
the API key is wrong or revoked, a network error means the URL, DNS, proxy or TLS
trust is wrong; both come back with a hint naming the environment variable to fix.
For per-project ids (types, statuses, priorities, versions, categories, activities)
use get_project_metadata; for what the current user may do use list_permissions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_url | No | API base URL this server talks to. | |
| features | Yes | Probed feature availability; read it before using gated params. | |
| core_version | No | OpenProject core version, e.g. '17.7.1'. | |
| current_user | Yes | Who this server is authenticated as. | |
| instance_name | No | Configured instance name. | |
| per_page_options | No | Page sizes the instance offers; the largest is the effective page_size cap. | |
| maximum_attachment_file_size_bytes | No | Upload ceiling; upload_attachment pre-flights against it. |