KosmoKrator

data

DataCite CLI for AI Agents

Use the DataCite CLI from KosmoKrator to call DataCite tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

DataCite CLI Setup

DataCite can be configured headlessly with `kosmokrator integrations:configure datacite`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure datacite --enable --read allow --write ask --json
kosmokrator integrations:doctor datacite --json
kosmokrator integrations:status --json

Credentials

Authentication type: No credentials none. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

No credentials are required.

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call datacite.datacite_list_activities '{}' --json
Provider shortcut
kosmo integrations:datacite datacite_list_activities '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs datacite --json
kosmo integrations:docs datacite.datacite_list_activities --json
kosmo integrations:schema datacite.datacite_list_activities --json
kosmo integrations:search "DataCite" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

datacite.datacite_list_activities

List DataCite activity records.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_list_activities '{}' --json
Shortcut
kosmo integrations:datacite datacite_list_activities '{}' --json

datacite.datacite_get_activity

Get a DataCite activity record.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_get_activity '{}' --json
Shortcut
kosmo integrations:datacite datacite_get_activity '{}' --json

datacite.datacite_list_client_prefixes

List client-prefix records.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_list_client_prefixes '{}' --json
Shortcut
kosmo integrations:datacite datacite_list_client_prefixes '{}' --json

datacite.datacite_list_clients

List DataCite clients/repositories.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_list_clients '{}' --json
Shortcut
kosmo integrations:datacite datacite_list_clients '{}' --json

datacite.datacite_client_stats

Get clients DOI production statistics.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_client_stats '{}' --json
Shortcut
kosmo integrations:datacite datacite_client_stats '{}' --json

datacite.datacite_get_client

Get one DataCite client/repository.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_get_client '{}' --json
Shortcut
kosmo integrations:datacite datacite_get_client '{}' --json

datacite.datacite_list_dois

List, search, filter, sort, sample, or page DOI metadata.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_list_dois '{}' --json
Shortcut
kosmo integrations:datacite datacite_list_dois '{}' --json

datacite.datacite_get_doi

Get one DOI metadata record.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_get_doi '{}' --json
Shortcut
kosmo integrations:datacite datacite_get_doi '{}' --json

datacite.datacite_get_doi_activities

Get activities for a DOI.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_get_doi_activities '{}' --json
Shortcut
kosmo integrations:datacite datacite_get_doi_activities '{}' --json

datacite.datacite_list_events

List DataCite Event Data records.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_list_events '{}' --json
Shortcut
kosmo integrations:datacite datacite_list_events '{}' --json

datacite.datacite_get_event

Get one Event Data record.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_get_event '{}' --json
Shortcut
kosmo integrations:datacite datacite_get_event '{}' --json

datacite.datacite_heartbeat

Check REST API status.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_heartbeat '{}' --json
Shortcut
kosmo integrations:datacite datacite_heartbeat '{}' --json

datacite.datacite_list_prefixes

List DOI prefixes.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_list_prefixes '{}' --json
Shortcut
kosmo integrations:datacite datacite_list_prefixes '{}' --json

datacite.datacite_prefix_stats

Get prefixes DOI production statistics.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_prefix_stats '{}' --json
Shortcut
kosmo integrations:datacite datacite_prefix_stats '{}' --json

datacite.datacite_get_prefix

Get one DOI prefix.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_get_prefix '{}' --json
Shortcut
kosmo integrations:datacite datacite_get_prefix '{}' --json

datacite.datacite_list_provider_prefixes

List provider-prefix records.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_list_provider_prefixes '{}' --json
Shortcut
kosmo integrations:datacite datacite_list_provider_prefixes '{}' --json

datacite.datacite_list_providers

List DataCite providers.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_list_providers '{}' --json
Shortcut
kosmo integrations:datacite datacite_list_providers '{}' --json

datacite.datacite_provider_stats

Get providers DOI production statistics.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_provider_stats '{}' --json
Shortcut
kosmo integrations:datacite datacite_provider_stats '{}' --json

datacite.datacite_get_provider

Get one DataCite provider.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_get_provider '{}' --json
Shortcut
kosmo integrations:datacite datacite_get_provider '{}' --json

datacite.datacite_list_reports

List usage reports.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_list_reports '{}' --json
Shortcut
kosmo integrations:datacite datacite_list_reports '{}' --json

datacite.datacite_get_report

Get one usage report.

Read read
Parameters
none
Generic call
kosmo integrations:call datacite.datacite_get_report '{}' --json
Shortcut
kosmo integrations:datacite datacite_get_report '{}' --json

datacite.datacite_graphql_query

Execute a read-only DataCite GraphQL query.

Read read
Parameters
query, variables
Generic call
kosmo integrations:call datacite.datacite_graphql_query '{"query":"example_query","variables":"example_variables"}' --json
Shortcut
kosmo integrations:datacite datacite_graphql_query '{"query":"example_query","variables":"example_variables"}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

datacite.datacite_list_activities 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_list_activities --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_get_activity 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_get_activity --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_list_client_prefixes 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_list_client_prefixes --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_list_clients 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_list_clients --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_client_stats 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_client_stats --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_get_client 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_get_client --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_list_dois 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_list_dois --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_get_doi 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_get_doi --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_get_doi_activities 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_get_doi_activities --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_list_events 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_list_events --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_get_event 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_get_event --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_heartbeat 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_heartbeat --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_list_prefixes 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_list_prefixes --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_prefix_stats 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_prefix_stats --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_get_prefix 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_get_prefix --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_list_provider_prefixes 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_list_provider_prefixes --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_list_providers 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_list_providers --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_provider_stats 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_provider_stats --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_get_provider 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_get_provider --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_list_reports 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_list_reports --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_get_report 0 parameters
Schema command
kosmo integrations:schema datacite.datacite_get_report --json
ParameterTypeRequiredDescription
No parameters.
datacite.datacite_graphql_query 2 parameters
Schema command
kosmo integrations:schema datacite.datacite_graphql_query --json
ParameterTypeRequiredDescription
query string yes GraphQL query string.
variables object no GraphQL variables.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.