Skip to content
← Public packages

@kody/sessionize

Read Sessionize sessions, speakers, and schedules from an event's public API endpoint.

FollowFork

Files

AGENTS.md

91 lines · 2.7 KB · Markdown

@kody/sessionize — agent notes

Human setup and intent live in README.md. This file is for agents: imports, smoke checks, snippets, and edge cases. No secrets. Do not disable live webhooks or jobs.

Auth

None. Public Sessionize JSON API. Pass endpointId on every call (demo: jl4ktls0). Host sessionize.com — no OAuth and no user secrets.

Treat unpublished custom-field endpoints as confidential: do not paste private endpoint ids into public chat when they expose draft data.

Import paths

ExportImport
package overviewkody:@kody/sessionize
get-eventkody:@kody/sessionize/get-event
list-sessionskody:@kody/sessionize/list-sessions
list-speakerskody:@kody/sessionize/list-speakers
get-schedulekody:@kody/sessionize/get-schedule
find-sessionkody:@kody/sessionize/find-session
find-speakerkody:@kody/sessionize/find-speaker
requestkody:@kody/sessionize/request
smoke-testkody:@kody/sessionize/smoke-test
typeskody:@kody/sessionize/types

Prefer static kody:@kody/sessionize/... imports from execute. Do not lead with packages.invoke.

Smoke test (read-only)

Defaults to the official demo endpoint:

import smokeTest from 'kody:@kody/sessionize/smoke-test'

export default async function main() {
	return await smokeTest()
	// => { ok: true, endpointId: 'jl4ktls0', sessionCount, speakerCount, ... }
}

Against a specific event:

import smokeTest from 'kody:@kody/sessionize/smoke-test'

export default async function main() {
	return await smokeTest({ endpointId: 'jl4ktls0' })
}

Common snippets

import getEvent from 'kody:@kody/sessionize/get-event'
import listSessions from 'kody:@kody/sessionize/list-sessions'
import findSpeaker from 'kody:@kody/sessionize/find-speaker'

export default async function main() {
	const event = await getEvent({ endpointId: 'jl4ktls0' })
	const { items } = await listSessions({ endpointId: 'jl4ktls0' })
	const speaker = await findSpeaker({ endpointId: 'jl4ktls0', query: 'Sophia' })
	return { event, items, speaker }
}

Raw view escape hatch:

import sessionizeRequest from 'kody:@kody/sessionize/request'

export default async function main() {
	return await sessionizeRequest({
		endpointId: 'jl4ktls0',
		view: 'GridSmart',
	})
}

Edge cases / fork notes

  • Views: All, Sessions, Speakers, GridSmart.
  • find-session matches id, title, or speaker name; find-speaker matches id, name, tag line, or session title.
  • After fork, call helpers from your copy with your endpoint id — the live @kody/sessionize listing is not a shared event.
  • Read-only package; no mutation surface and no jobs/webhooks to disable.