Java API 레퍼런스
메시지의 토큰 수 계산
MessageTokensCount messages().countTokens(params, requestOptions = RequestOptions.none())POST/v1/messages/count_tokens
메시지의 토큰 수를 계산합니다.
파일 목록 조회
FileListPage files().list(params = FileListParams.none(), requestOptions = RequestOptions.none())GET/v1/files
파일 다운로드
HttpResponse files().download(params = FileDownloadParams.none(), requestOptions = RequestOptions.none())GET/v1/files/{file_id}/content
파일 메타데이터 조회
FileMetadata files().retrieveMetadata(params = FileRetrieveMetadataParams.none(), requestOptions = RequestOptions.none())GET/v1/files/{file_id}
파일 삭제
DeletedFile files().delete(params = FileDeleteParams.none(), requestOptions = RequestOptions.none())DELETE/v1/files/{file_id}
스킬 목록 조회
SkillListPage skills().list(params = SkillListParams.none(), requestOptions = RequestOptions.none())GET/v1/skills
스킬 삭제
DeletedSkill skills().delete(params = SkillDeleteParams.none(), requestOptions = RequestOptions.none())DELETE/v1/skills/{skill_id}
사용자 프로필 생성
UserProfile userProfiles().create(params = UserProfileCreateParams.none(), requestOptions = RequestOptions.none())POST/v1/user_profiles
사용자 프로필 목록 조회
UserProfileListPage userProfiles().list(params = UserProfileListParams.none(), requestOptions = RequestOptions.none())GET/v1/user_profiles
사용자 프로필 조회
UserProfile userProfiles().retrieve(params = UserProfileRetrieveParams.none(), requestOptions = RequestOptions.none())GET/v1/user_profiles/{user_profile_id}
사용자 프로필 업데이트
UserProfile userProfiles().update(params = UserProfileUpdateParams.none(), requestOptions = RequestOptions.none())POST/v1/user_profiles/{user_profile_id}
사용자 프로필 삭제
DeletedUserProfile userProfiles().delete(params = UserProfileDeleteParams.none(), requestOptions = RequestOptions.none())DELETE/v1/user_profiles/{user_profile_id}
현재 조직 조회
OrganizationInfo organization().retrieve(params = OrganizationRetrieveParams.none(), requestOptions = RequestOptions.none())GET/v1/organizations/me
인증된 API 키와 연결된 조직에 대한 정보를 조회합니다.