Skip to main content
POST
List articles

Request contract

  • Method and path: POST /apis/v1/cbc-ca/news/list-articles
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/cbc-ca/news/list-articles
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
category_slugs
string[]
required

CBC category slugs, for example ["edmonton"] or ["politics"]. Items in any of them are listed.

from
string

Earliest publish date, YYYY-MM-DD, inclusive from 00:00 UTC. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

page
number
default:1

1-based page. Pass the next_cursor of the previous call to continue.

Provider reference: minimum 1; maximum 200; default 1.

page_size
number
default:20

page_size

Provider reference: minimum 1; maximum 60; default 20.

sort
string
default:published

Newest first by publish time (default) or by last-update time.

Provider reference: allowed values ["published", "updated"]; default "published".

to
string

Latest publish date, YYYY-MM-DD, inclusive through 23:59:59 UTC. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

types
string[]

Content types to include. Defaults to stories only.

Response

Newest CBC items in one or more categories (sections or regions such as edmonton, calgary, politics, world) through CBC's aggregate_api items listing, optionally limited to a publish-date window (from / to, UTC calendar days, inclusive) and to content types (story, video). Sorted newest first by publish or last-update time; page_size up to 60. The API drops an unknown slug silently and would answer the whole site, so the function checks the API's x-items-filters echo: a slug CBC does not know is not_found, and every returned row is verified to carry a requested category. Rows are metadata only (title, deck, URL, publish and update instants, categories, media flags); use get_article for the text.

The response contains the tool result directly.

The provider identifies items as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.