NAiOS IconNAiOS Logo
Volver al catálogo

Currents API

currents_api

Currents News API provides access to the latest news articles from various sources worldwide, supporting multiple languages and categories.

Acciones
5
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (5)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

List Latest NewsCURRENTS_API_ACTIVITIES_LISTAcción

Tool to retrieve the latest news articles from Currents News API. Use when you need a real-time feed of recent articles.

Parámetros de entrada

  • languagestring

    Filter news by language (e.g., 'en', 'es', 'fr'). Defaults to English if omitted.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Activities WatchCURRENTS_API_ACTIVITIES_WATCHAcción

Tool to start a notification channel to watch activities for a specified user and application. Use when needing to receive push notifications for user activity; call after OAuth credentials and webhook endpoint are set up.

Parámetros de entrada

  • channelobjectObligatorio

    Subscription channel configuration

  • user_keystringObligatorio

    Profile ID or primary email, or 'all' to watch all users

  • application_namestringObligatorioenum

    Application whose events to watch

    admincalendarclassdrivedocsgpluslicenseloginmobiletokenmeetchrome+1

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Entity Usage ReportsCURRENTS_API_ENTITY_USAGE_REPORTS_GETAcción

Tool to retrieve usage statistics for a specific Google Workspace entity. Use when you need to analyze entity usage on a particular date.

Parámetros de entrada

  • datestringObligatorio

    Date of usage in ISO-8601 format (YYYY-MM-DD).

  • filtersstring

    Comma-separated list of filters [app]:[param][operator][value], numeric parameters only; operators: ==, <>, <, <=, >, >=.

  • entityKeystringObligatorio

    Object key to filter by; use 'all' to include all entities.

  • pageTokenstring

    Token for fetching the next page of results.

  • customerIdstring

    Customer ID to retrieve data for.

  • entityTypestringObligatorio

    Type of entity for the report; only 'gplus_communities' is supported.

  • maxResultsinteger

    Maximum number of results to return per page.

  • parametersstring

    Comma-separated list of application parameters to include, e.g. 'gplus:numCommunitiesCreated'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List UsersCURRENTS_API_USERS_LISTAcción

Tool to list users in a Google Workspace domain. Note: - When the provided base_url points to Currents News API (api.currentsapi.services), this action will gracefully fall back to listing latest news articles to ensure a valid response, since the Currents News API does not expose a users endpoint. - When the base_url points to Google Admin Directory API, it will list users from the domain/customer specified.

Parámetros de entrada

  • querystring

    Query string for searching user fields.

  • domainstring

    Domain name to list users from. Provide either `customer` or `domain`.

  • orderBystringenum

    Property to sort results by.

    EMAILFAMILY_NAMEGIVEN_NAME
  • customerstring

    Customer ID (e.g., 'my_customer'). Provide either `customer` or `domain`.

  • viewTypestringenum

    View type: 'admin_view' (admin only) or 'domain_public'.

    admin_viewdomain_public
  • pageTokenstring

    Token for fetching the next page of results.

  • sortOrderstringenum

    Sort direction.

    ASCENDINGDESCENDING
  • maxResultsinteger

    Maximum number of results to return.

  • projectionstringenum

    Subset of user fields to include in the response.

    BASICCUSTOMFULL
  • showDeletedboolean

    Whether to include deleted users. Defaults to false.

  • customFieldMaskstring

    Comma-separated schema names; required only when `projection` is 'CUSTOM'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get User Usage ReportCURRENTS_API_USER_USAGE_REPORT_GETAcción

Tool to retrieve the usage report for a specified user on a given date. Use after confirming the userKey and date. Use when detailed usage metrics are needed for auditing or monitoring.

Parámetros de entrada

  • datestringObligatorio

    Date of usage in ISO 8601 yyyy-mm-dd format (UTC-08:00, PST).

  • filtersstring

    Comma-separated list of filters using relational operators (==, <>, <, <=, >, >=). Format: app:param operator value.

  • userKeystringObligatorio

    Profile ID or primary email of the user. Use "all" to retrieve reports for all users; must not be a deleted user.

  • orgUnitIDstring

    Organizational unit ID to restrict results; excludes data before 2018-12-17 when filtering by org unit.

  • pageTokenstring

    Token for retrieving the next page of results.

  • customerIdstring

    Customer unique ID to retrieve data for.

  • maxResultsinteger

    Maximum number of results per page.

  • parametersstring

    Comma-separated list of app-scoped parameter names to include.

  • groupIdFilterstring

    Comma-separated obfuscated group IDs; only users in at least one specified group are included. Format: id:abc123,id:xyz456

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not