For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cards

Add a URL to library

post

Saves a URL as a URL card in the authenticated user's library.

Body
urlstringRequired
notestringOptional
collectionIdsstring[]Optional
viaCardIdstringOptional

The ID of the card that led to saving this URL. If included, the author of the viaCard will be notified.

Responses
200

200

application/json
urlCardIdstringRequired
noteCardIdstringOptional
post/network.cosmik.card.addUrl
200

200

Update URL card associations

post

Add or remove the card to/from collections. Add a note to the URL card or update the existing note.

Body
cardIdstringRequired
notestringOptional
addToCollectionsstring[]Optional
removeFromCollectionsstring[]Optional
viaCardIdstringOptional

The ID of the card that led to saving this URL. If included, the author of the viaCard will be notified.

Responses
200

200

application/json
urlCardIdstringRequired
noteCardIdstringOptional
addedToCollectionsstring[]Required
removedFromCollectionsstring[]Required
post/network.cosmik.card.updateUrlAssociations
200

200

List my library URL cards

get

Returns a paginated list of URL cards in the authenticated user's library. When searchText is provided, results are filtered to cards whose title, description, or URL match all whitespace-separated tokens (case-insensitive).

Query parameters
pagenumber · nullableOptional
limitnumber · nullableOptional
sortBystring · enumOptionalPossible values:
sortOrderstring · enumOptionalPossible values:
urlTypestring · enumOptionalPossible values:
uncollectedboolean · nullableOptional
searchTextstringOptional
Responses
200

200

application/json
get/network.cosmik.card.listMine
200

200

Get URL metadata and optional Semble stats

get

Fetches title, description, and other metadata for a given URL. Can optionally include aggregated Semble stats for the URL, such as total saves and collection counts.

Query parameters
urlstringRequired
includeStatsboolean · nullableOptional
Responses
200

200

application/json
get/network.cosmik.card.getUrlMetadata
200

200

Check if a given URL has been saved to your library

get

Returns whether a URL is already saved in the authenticated user's library, along with all collections the user added it to.

Query parameters
urlstringRequired
Responses
200

200

application/json
get/network.cosmik.card.getLibraryStatus
200

200

Get users who have saved a URL to their library

get

Returns a paginated list of users who have saved a given URL to their library, including the URL Card of each user.

Query parameters
pagenumber · nullableOptional
limitnumber · nullableOptional
sortBystring · enumOptionalPossible values:
sortOrderstring · enumOptionalPossible values:
urlstringRequired
Responses
200

200

application/json
get/network.cosmik.card.getLibrariesForUrl
200

200

Get notes for a URL

get

Returns a paginated list of all notes that are added to a given URL.

Query parameters
pagenumber · nullableOptional
limitnumber · nullableOptional
sortBystring · enumOptionalPossible values:
sortOrderstring · enumOptionalPossible values:
urlstringRequired
Responses
200

200

application/json
get/network.cosmik.card.getNoteCardsForUrl
200

200

Search cards

get

Full-text search across URL Cards titles, descriptions and URLs.

Query parameters
pagenumber · nullableOptional
limitnumber · nullableOptional
sortBystring · enumOptionalPossible values:
sortOrderstring · enumOptionalPossible values:
searchQuerystringRequired
urlTypestring · enumOptionalPossible values:
Responses
200

200

application/json
get/network.cosmik.card.search
200

200

Get a card by ID

get

Returns a card and its associated metadata by card ID.

Query parameters
cardIdstringRequired
Responses
200

200

application/json
idstringRequired
typestring · enumRequiredPossible values:
urlstringRequired
uristringOptional
libraryCountnumberRequired
urlLibraryCountnumberRequired
urlInLibrarybooleanOptional
urlConnectionCountnumberOptional
urlIsConnectedbooleanOptional
createdAtstringRequired
updatedAtstringRequired
get/network.cosmik.card.get
200

200

Update a note added to a URL card

post

Updates the content of a note added to a URL card.

Body
cardIdstringRequired
notestringRequired
Responses
200

200

application/json
cardIdstringRequired
post/network.cosmik.card.updateNote
200

200

Remove a card from library

post

Removes a card from the authenticated user's library.

Body
cardIdstringRequired
Responses
200

200

application/json
cardIdstringRequired
post/network.cosmik.card.removeFromLibrary
200

200

List a user's URL cards

get

Returns a paginated list of URL cards in a user's library, identified by handle or DID. When searchText is provided, results are filtered to cards whose title, description, or URL match all whitespace-separated tokens (case-insensitive).

Query parameters
pagenumber · nullableOptional
limitnumber · nullableOptional
sortBystring · enumOptionalPossible values:
sortOrderstring · enumOptionalPossible values:
identifierstringRequired
urlTypestring · enumOptionalPossible values:
uncollectedboolean · nullableOptional
searchTextstringOptional
Responses
200

200

application/json
get/network.cosmik.card.listByUser
200

200

Last updated